Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
1faeb76
initial commit
mmahalwy Jul 25, 2018
4b69a52
initial commit2
mmahalwy Jul 25, 2018
f50353d
more changes
mmahalwy Jul 27, 2018
7e1552f
deps
mmahalwy Jul 27, 2018
d71ff5e
remove uneeded files
mmahalwy Jul 27, 2018
c7793ee
audioplayer working
mmahalwy Aug 2, 2018
439e959
more work
mmahalwy Aug 7, 2018
e21e141
many great updates
mmahalwy Aug 9, 2018
251d2b3
more changes
mmahalwy Aug 10, 2018
32d97ce
doing great
mmahalwy Aug 10, 2018
a08fbfc
improve circle
mmahalwy Aug 10, 2018
923c36c
work
mmahalwy Aug 10, 2018
0b7a4bc
make verse happy
mmahalwy Aug 10, 2018
ee928ba
tsc
mmahalwy Aug 10, 2018
5cc0b9e
Tests, changes and additions
mmahalwy Aug 13, 2018
fa2ab4b
added many tests
mmahalwy Aug 29, 2018
cbbcc64
fixed all ts problems
mmahalwy Aug 29, 2018
bda58b0
fix tests
mmahalwy Aug 30, 2018
f42c4e7
fix tests
mmahalwy Aug 30, 2018
d81bbe5
Remove classNames
mmahalwy Aug 30, 2018
203888b
jobs 1
mmahalwy Aug 30, 2018
44b8107
make precommit work
mmahalwy Aug 30, 2018
000f4ce
separate helmet for chapter
mmahalwy Aug 30, 2018
8f3c11f
decrease size further
mmahalwy Aug 30, 2018
805eb8e
fix bundle size
mmahalwy Aug 30, 2018
6a0c104
update
mmahalwy Aug 30, 2018
b6f0f5e
decrease bundle size drastically
mmahalwy Aug 30, 2018
57cd326
fixes https://github.com/quran/quran.com-frontend/issues/990
mmahalwy Aug 30, 2018
3f95eeb
Remove home from bundle check
mmahalwy Aug 30, 2018
4bf690b
remove jobs
mmahalwy Aug 30, 2018
d7a9b6d
wrote docs
mmahalwy Aug 30, 2018
cd35ff0
more docs
mmahalwy Aug 30, 2018
6ffb2de
work jest
mmahalwy Aug 30, 2018
f95a0c3
change config
mmahalwy Aug 30, 2018
a141f8a
change config
mmahalwy Aug 30, 2018
b16ea42
change config
mmahalwy Aug 30, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
mmahalwy committed Aug 30, 2018
commit bda58b05e1d4b891a3f5699070e607ee10db28d9
2 changes: 0 additions & 2 deletions src/containers/_tests_/AudioplayerContainer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ describe('AudioplayerContainer', () => {
})
).toEqual({
segments: state.audioplayer.segments[chapter.id],
chapterId: chapter.id,
isPlaying: state.audioplayer.isPlaying,
isLoading: state.audioplayer.isLoading,
repeat: state.audioplayer.repeat,
shouldScroll: state.audioplayer.shouldScroll,
duration: state.audioplayer.duration,
Expand Down
6 changes: 3 additions & 3 deletions src/redux/actions/_tests_/options.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fetchTranslations, fetchRecitations, fetchTafsirs } from '../options';
import { fetchTranslations, fetchReciters, fetchTafsirs } from '../options';
import apiClient from '../../../apiClient';

jest.mock('../../../apiClient.ts');
Expand All @@ -15,9 +15,9 @@ describe('options actions', () => {
});
});

describe('fetchRecitations', () => {
describe('fetchReciters', () => {
it('returns a promise', () => {
fetchRecitations();
fetchReciters();

expect(apiClient.get).toHaveBeenCalled();
expect(apiClient.get).toHaveBeenCalledWith(`/api/v3/options/recitations`);
Expand Down
4 changes: 2 additions & 2 deletions src/redux/actions/_tests_/search.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { search } from '../search';
import { fetchSearch } from '../search';
import apiClient from '../../../apiClient';

jest.mock('../../../apiClient.ts');
Expand All @@ -9,7 +9,7 @@ const query = 'Noah';
describe('search actions', () => {
describe('search', () => {
it('returns a promise', () => {
search({
fetchSearch({
q: query,
p: page,
});
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/TranslationShape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const TranslationShape = PropTypes.shape({
text: PropTypes.string,
resourceName: PropTypes.string,
resourceId: PropTypes.number.isRequired,
authorName: PropTypes.string.isRequired,
authorName: PropTypes.string,
});

interface TranslationShape {
Expand Down
3 changes: 1 addition & 2 deletions src/styles/main.global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ $icon-font-path: '~bootstrap-sass/assets/fonts/bootstrap/';
@import 'partials/dropdown';
@import 'partials/tooltip';
@import 'nightmode';
@import 'partials/surah_names';
@import 'partials/_tooltip';

html,
body {
height: 100%;
Expand All @@ -22,6 +20,7 @@ body {
.row {
margin-right: 0em !important;
}

.highlight {
background-color: #f5fbf7;
}
Expand Down
Loading