Commit Graph

19 Commits

Author SHA1 Message Date
f58d451432 Add loading view component 2022-08-30 01:23:39 +03:00
ab2f266802 Style and behavior iprovements for notifications in add card view 2022-08-13 18:54:24 +03:00
d11fd3d3a8 Landing page and UI text improvements, list 3rd-party library licenses 2022-08-13 09:31:37 +03:00
f54225698f Add home page content 2022-08-10 01:36:29 +03:00
ac56ce3f48 Small style improvement on promote and demote buttons 2022-08-10 01:36:29 +03:00
532394f181 Switch to single-page vanilla React app, add PWA support
Story time

Too much time was spent trying to get Next.js to build the app
as a PWA. Maybe I've been trying to do this at an unlucky time
when something somewhere in the dependency stack leading up to
next-pwa is only temporarily broken.

At this point enough hours have been spent thorough the project
getting this or that and that to play nice with Next.js, and the
benefits to this project were at best questionable.

When next-pwa didn't deliver a PWA experience with the promised
"zero configuration" setup, and even failed to do so with a lot
of fiddling around and following several issue discussions in
its repo I thought back at all the other nuisances stemming from
trying to get Next.js to play nice in the app's context and
decided it was time for it to go.

Writing this frankenstein of a commit that forces the project
from its Next.js structure into more-or-less the structure of a
vanilla create-react-app project felt like a breeze compared to
any more time spent reading github issues lingering unanswered
or bumping into Stack Overflow threads from a time when none
of the answers are right any longer. Some top answers in Stack
Overflow don't even look like they were ever right.

I don't like the big component switch that I wrote to replace
the seemingly elegant app routing from Next.js. The new app
routing I wrote is a kludge designed to minimize the amount of
code fixes I'd need to do when it came to navigation, but I am
glad to no longer parse numbers out of URLs, put dynamic() calls
in nearly every page, use wrapper Link and Image components so
Next.js can do some magic and a few other problems that right
now I forget. I also appreciate the smaller bundle.

This isn't some content publishing app, full of meaningful URLs
to be shared over the net with other users. There's really only
the skeleton of the app with a few very simple views to navigate
to and then there's the local data generated by the user that the
app just hosts locally.
2022-08-10 01:36:26 +03:00
f19f2d5601 Draft functionality for fetching card data from Wiktionary 2022-08-10 00:20:31 +03:00
ec836a8465 Richer card rendering using data from Wiktionary
The choice for pulling HTML data instead of Wiki markup from
Wiktionary was made because the markup content would have
required a lot of code to expand the template data into user
readable content.
2022-08-10 00:20:31 +03:00
92f6efa772 Small stylesheet simplification 2022-08-10 00:20:31 +03:00
6f600cf411 Separate error views, minor refactors, stub interaction on practice page 2022-08-10 00:20:31 +03:00
72249d9105 Style fixes
* Fix missing navigation shadow
* Switch to grid organization at top level
* Force calc() sizes to guarantee elements occupy right size
2022-08-10 00:20:31 +03:00
0d0b38391d Simplify CSS styles
A lingering problem exists where the content is allowed to expand
indefinitely vertically. This might be an issue with the stacks of
flex elements near the root of the DOM.

Since the value fixing this is still uncertain I'll leave as it is
for now.
2022-08-10 00:20:31 +03:00
1a4c2ce98f Add expression set details page 2022-08-10 00:20:31 +03:00
47ea97adaf Mock data and add expression set selection page 2022-08-10 00:20:31 +03:00
79ba58bb36 Add ExpressionSetCard component 2022-08-10 00:20:31 +03:00
4f63ec8ee9 Add Page component 2022-08-10 00:20:31 +03:00
e8d99ccf6f Add Navigation, NavigationItem components, storybook router and icons 2022-08-10 00:20:31 +03:00
b3b20de516 Add prettier tool, prettify code 2022-08-10 00:20:31 +03:00
529ca8d270 Add ExpressionCard component 2022-08-10 00:20:31 +03:00