mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
75 lines
2.1 KiB
JavaScript
75 lines
2.1 KiB
JavaScript
/*
|
|
|
|
todo save spinner
|
|
todo cancelling editing someone's else map return back to it's original address /razminochnyj/
|
|
|
|
todo riding speed slider
|
|
todo public maps
|
|
todo editing map on map list
|
|
todo setting map public on map list
|
|
|
|
todo tooltips for panel items
|
|
|
|
done map catalogue
|
|
done public maps
|
|
done map search
|
|
todo map list lazy loading
|
|
|
|
done better poly editor https://github.com/SupriyaSudhindra/leaflet-editable-polyline
|
|
done update after point delete
|
|
todo hidden markers tooltip
|
|
|
|
todo network operations notify
|
|
done delayed notify (delay(2000).then(showLoadingMsg))
|
|
todo network error notifications
|
|
todo check canvas support at startup
|
|
todo check osrm is up
|
|
|
|
todo maybe: map preview on save
|
|
|
|
OBLIVION STARTS HERE:
|
|
|
|
done fix loaded stickers has wrong text placement for right-sided captions
|
|
done fix save button should not react to clicks
|
|
done stickers with empty text should not have blackbox at view mode
|
|
done add ability to copy-paste address after saving
|
|
|
|
done hide sticker dialog on sticker selection
|
|
done separate mode for sticker selection
|
|
done TEST: set initialData after saving map, clear is-modified
|
|
done TEST: provider / logo triggers setChanged
|
|
done shot mechanism (100%)
|
|
done client-side shot mechanism
|
|
done croppr.js
|
|
done shot stickers
|
|
done progress
|
|
done hotkeys via sagas
|
|
done better loader screen
|
|
done network errors handling on startup
|
|
|
|
done stickers drag on rotate bug
|
|
*/
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { App } from '$containers/App';
|
|
import '$styles/main.less';
|
|
|
|
import { Provider } from 'react-redux';
|
|
import { PersistGate } from 'redux-persist/integration/react';
|
|
import { configureStore } from '$redux/store';
|
|
import { pushLoaderState } from '$utils/history';
|
|
|
|
const { store, persistor } = configureStore();
|
|
|
|
pushLoaderState(10);
|
|
|
|
export const Index = () => (
|
|
<Provider store={store}>
|
|
<PersistGate loading={null} persistor={persistor}>
|
|
<App />
|
|
</PersistGate>
|
|
</Provider>
|
|
);
|
|
|
|
ReactDOM.render(<Index />, document.getElementById('index'));
|