mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
routes: slider changes
This commit is contained in:
parent
a3b04173d0
commit
3562c04dc8
6 changed files with 12 additions and 6 deletions
|
@ -12,6 +12,7 @@ export const APP_INFO = {
|
||||||
'Диалог со списком карт пользователя', // [07.12.18]
|
'Диалог со списком карт пользователя', // [07.12.18]
|
||||||
'Мобильный интерфейс', // [07.12.18]
|
'Мобильный интерфейс', // [07.12.18]
|
||||||
'Приложение для vk', // [11.12.18]
|
'Приложение для vk', // [11.12.18]
|
||||||
|
'Фильтр в диалоге поиска карт', // [13.12.18]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'Первый коммит', // [15.08.18]
|
'Первый коммит', // [15.08.18]
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
done better loader screen
|
done better loader screen
|
||||||
done network errors handling on startup
|
done network errors handling on startup
|
||||||
|
|
||||||
todo map catalogue
|
done map catalogue
|
||||||
todo public maps
|
done public maps
|
||||||
todo map search
|
done map search
|
||||||
todo map lazy loading
|
todo map lazy loading
|
||||||
|
|
||||||
todo tooltips
|
todo tooltips
|
||||||
|
|
|
@ -228,7 +228,7 @@ export const INITIAL_STATE = {
|
||||||
starred: false,
|
starred: false,
|
||||||
distance: [0, 10000],
|
distance: [0, 10000],
|
||||||
author: '',
|
author: '',
|
||||||
tab: 'mine',
|
tab: '',
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 10000,
|
max: 10000,
|
||||||
}
|
}
|
||||||
|
|
|
@ -461,7 +461,10 @@ function* openMapDialogSaga({ tab }) {
|
||||||
return yield put(setDialogActive(false));
|
return yield put(setDialogActive(false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if (tab !== current) { // if tab wasnt changed just update data
|
||||||
yield put(searchSetTab(tab));
|
yield put(searchSetTab(tab));
|
||||||
|
// }
|
||||||
|
|
||||||
yield put(setDialog(DIALOGS.MAP_LIST));
|
yield put(setDialog(DIALOGS.MAP_LIST));
|
||||||
yield put(setDialogActive(true));
|
yield put(setDialogActive(true));
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,8 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
background: linear-gradient(90deg, @green_secondary, @blue_secondary);
|
background: linear-gradient(270deg, @red_secondary, @blue_secondary) fixed 20px 0;
|
||||||
|
background-size: 320px 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-handle {
|
&-handle {
|
||||||
|
|
|
@ -44,4 +44,5 @@ export const getRouteList = ({
|
||||||
params: {
|
params: {
|
||||||
title, distance, author, starred
|
title, distance, author, starred
|
||||||
}
|
}
|
||||||
}).then(result => (result && result.data && result.data.success && result.data)).catch(() => ([]));
|
}).then(result => (result && result.data && result.data.success && result.data))
|
||||||
|
.catch(() => ({ list: [], min: 0, max: 0 }));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue