Comments (6)
a derived store can't be used like this, so should use a custom method for setting inputPage
which sets the current value as another store value previousPage
this previousPage
can be used to set inputPage
when this feature (go to last page) is used
from qawl.
Should've spent more time reading the docs properly before fooling around…
from qawl.
Don't know what I was thinking before, this feature is way more complicated than I imagined, or what I remembered from the previous version of Qawl:
It basically needs to be manually crafted into all the other navigation methods (except simple page flips, because that's redundant), saving the previous used value to a store before any new value is set:
- Slider
- Direct page input
- Surah dropdown
Manually building this separate feature (quick return) into every other method of navigation feels like bad practice, that there should be a simple method for a custom store that sets this other previousPage
store
Typing it out makes it seem very good, so I'll try out a custom store… if that fails, I'll manually code it in like I did for the old Qawl
from qawl.
Doing it the store way is honestly beyond me, sadly… I looked at the docs and some libraries and demos (this one stands out), but I don't think I have the time to learn all that and try. Simple stuff wins :P
from qawl.
As discussed in #65, instead of a binary jump between the current and previous read page, providing a full reading history (or at least a sane limit like 10) will give users a much better experience. Maybe some part of that shortcut can take users directly to the previous page too
Should be easier to think about and implement this feature now too
from qawl.
Can integrate the history with the desktop icon shortcut (as in, right click on windows taskbar icon and see direct actions in the app). But can that be set dynamically (as in not during build)?
from qawl.
Related Issues (20)
- Use the latest madina mushaf 1441AH images HOT 3
- Make narrower command bar HOT 1
- Trigger command bar less sensitively
- Increase padding at the bottom of the page (so there's space for the command bar) HOT 1
- Leave electron-builder HOT 1
- Quick global search HOT 1
- Make command bar draggable HOT 4
- Bookmarks + star feature HOT 2
- Consider analytics
- Add code signing or similar for all platforms
- Re-think buttons in command bar and overall UX HOT 2
- Make "download new update" second option in update prompt so it's not the default
- Update notification prompt should go to qawl site not github HOT 1
- Support more increments of the Quran (like juz, hizb, ruku') HOT 1
- Debug keyboard shortcuts
- support for 13 line version and different fonts HOT 6
- Process 13 line indopak mushaf PDF
- Include translation in app HOT 1
- Failed to launch HOT 3
- Package as Flatpak HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qawl.