diff --git a/src/components/challenges_list/FiltersMenu/filterOptions.js b/src/components/challenges_list/FiltersMenu/filterOptions.js
index 08ac81e..2772cf5 100644
--- a/src/components/challenges_list/FiltersMenu/filterOptions.js
+++ b/src/components/challenges_list/FiltersMenu/filterOptions.js
@@ -1,89 +1,92 @@
const filterOptions = [
- [
- {
- name: 'Closing',
- sort: true,
- rotate: ''
- },
- {
- name: 'Closing',
- sort: true,
- rotate: '180deg'
- },
- {
- name: 'Hotness',
- sort: true,
- rotate: ''
- },
- {
- name: 'Hotness',
- sort: true,
- rotate: '180deg'
- },
- {
- name: 'Reward',
- sort: true,
- rotate: ''
- },
- {
- name: 'Reward',
- sort: true,
- rotate: '180deg'
- }
- ], [
- {
- name: 'Both',
- sort: false,
- rotate: ''
- },
- {
- name: 'Completed',
- sort: false,
- rotate: ''
- },
- {
- name: 'Active',
- sort: false,
- rotate: ''
- },
- ], [
- {
- name: 'All',
- sort: false,
- rotate: ''
- },
- {
- name: 'Tabular',
- sort: false,
- rotate: ''
- },
- {
- name: 'Text',
- sort: false,
- rotate: ''
- },
- {
- name: 'Image',
- sort: false,
- rotate: ''
- },
- ], [
- {
- name: 'Both',
- sort: false,
- rotate: ''
- },
- {
- name: 'Yes',
- sort: false,
- rotate: ''
- },
- {
- name: 'No',
- sort: false,
- rotate: ''
- },
- ]
+ [
+ {
+ name: 'Closing',
+ sort: true,
+ rotate: '0',
+ },
+ {
+ name: 'Closing',
+ sort: true,
+ rotate: '180deg',
+ },
+ {
+ name: 'Hotness',
+ sort: true,
+ rotate: '0',
+ },
+ {
+ name: 'Hotness',
+ sort: true,
+ rotate: '180deg',
+ },
+ {
+ name: 'Reward',
+ sort: true,
+ rotate: '0',
+ },
+ {
+ name: 'Reward',
+ sort: true,
+ rotate: '180deg',
+ },
+ ],
+ [
+ {
+ name: 'Both',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'Closed',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'Active',
+ sort: false,
+ rotate: '0',
+ },
+ ],
+ [
+ {
+ name: 'All',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'Tabular',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'Text',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'Image',
+ sort: false,
+ rotate: '0',
+ },
+ ],
+ [
+ {
+ name: 'Both',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'Yes',
+ sort: false,
+ rotate: '0',
+ },
+ {
+ name: 'No',
+ sort: false,
+ rotate: '0',
+ },
+ ],
];
-export default filterOptions;
\ No newline at end of file
+export default filterOptions;
diff --git a/src/components/specific_challenge/AllEntries/AllEntries.js b/src/components/specific_challenge/AllEntries/AllEntries.js
index 86639cf..d5661f0 100644
--- a/src/components/specific_challenge/AllEntries/AllEntries.js
+++ b/src/components/specific_challenge/AllEntries/AllEntries.js
@@ -7,6 +7,8 @@ import {
CALC_PAGES,
EVALUATIONS_FORMAT,
RENDER_WHEN
+ IS_MOBILE,
+ RENDER_WHEN,
} from '../../../utils/globals';
import Loading from '../../generic/Loading';
import Pager from '../../generic/Pager';
@@ -55,10 +57,11 @@ const AllEntries = (props) => {
const getAllEntriesHeader = () => {
let header = ['#', 'submitter'];
+ if (IS_MOBILE()) header.push('when');
for (let metric of getPossibleMetrics()) {
header.push(metric);
}
- header.push('when');
+ if (!IS_MOBILE()) header.push('when');
return header;
};
@@ -135,12 +138,57 @@ const AllEntries = (props) => {
};
const mobileRender = () => {
- return <>>;
+ return (
+
+
+ All Entries
+
+ {!loading ? (
+ <>
+
+
+
+ >
+ ) : (
+
+ )}
+
+ );
};
const desktopRender = () => {
return (
-
+
All Entries
diff --git a/src/components/specific_challenge/Challenge.js b/src/components/specific_challenge/Challenge.js
index 344d466..f739a5d 100644
--- a/src/components/specific_challenge/Challenge.js
+++ b/src/components/specific_challenge/Challenge.js
@@ -115,7 +115,7 @@ const Challenge = (props) => {
diff --git a/src/components/specific_challenge/ColumnFilterIcon.js b/src/components/specific_challenge/ColumnFilterIcon.js
index 4acf76f..ea4b387 100644
--- a/src/components/specific_challenge/ColumnFilterIcon.js
+++ b/src/components/specific_challenge/ColumnFilterIcon.js
@@ -9,7 +9,8 @@ const ColumnFilterIcon = (props) => {
if (props.index === props.active) {
return (