Merge PR #64: Bookmark folders Adds bookmark folder support: create/manage folders, assign bookmarks to folders, browse bookmarks by folder. Also refactors alert/toast system to support clickable actions. From: mkljczk (https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/64)
[build] upgrade eslint to 9.37.0 (#88) Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
[feature] decouple login.scss from variables (#93) Preparing for a switch to CSS variables - decouple login.scss from variables.scss - move scrollbar css to separate file Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/93 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[bugfix] correct import of `@rails/ujs` / fix lint issues (#92) Details: https://github.com/rails/rails/issues/49768 Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/92 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[build] upgrade to Prettier 3.6.2 (#86) Upgrades Prettier to 3.6.2 and pins it there. Prettier [recommends pinning the version](https://prettier.io/docs/install#summary): > Install an exact version of Prettier locally in your project. This makes sure that everyone in the project gets the exact same version of Prettier. Even a patch release of Prettier can result in slightly different formatting, so you wouldn’t want different team members using different versions and formatting each other’s changes back and forth. --- Should probably merge after #85. Co-authored-by: tobi <kipvandenbos@noreply.codeberg.org> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/86 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[bugfix] Fix linter issues (#85) - [x] .js - [x] .json - [x] .md - [x] .scss - [x] .yml Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/85 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[feature] Redesigned login page (#76) Reworked the login page - Simplified some of the HTML and CSS - Removed some `aria-label`s - Added alt text for the logo - Added a label for the input field - Added subtle borders to otherwise flat elements  Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/76 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[bugfix] account for data structure change in instance API fallback (#63) Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/63 Co-authored-by: Sqx. Flann <fl4nn+codeberg@opensuse.org> Co-committed-by: Sqx. Flann <fl4nn+codeberg@opensuse.org>
Bookmark folders support Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
port 'Add toast with option to open post after publishing in web UI' Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
[feature] Query media description limit (#62) fixes #61 Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/62 Co-authored-by: Sqx. Flann <fl4nn+codeberg@opensuse.org> Co-committed-by: Sqx. Flann <fl4nn+codeberg@opensuse.org>
[feature] Add logout button to sidebar (#48) This one should probably be scrutinized a little more than my previous two. For example, I don't know why I needed to do this: https://codeberg.org/prplecake/masto-fe-standalone/src/commit/1a1f48ceaa544650a8b8f50f8fa4e8c7cdc44c12/app/javascript/flavours/glitch/features/ui/index.jsx#L152 ~~But, it appears to work.~~ It's live at https://masto-fe.compostintraining.club if you want to test it out. ~~Edit: it breaks stuff. Images don't load anymore...~~ Maybe that was just a network glitch... Fixes #21. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/48 Co-authored-by: prplecake <me@prplecake.com> Co-committed-by: prplecake <me@prplecake.com>
[bugfix] Don't show deprecated setting modal when auto unfold CWs is toggled on (#47) Missed in #46, sorry! Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/47 Co-authored-by: prplecake <me@prplecake.com> Co-committed-by: prplecake <me@prplecake.com>
[feature] Re-enable auto-unfold CW setting (#46) Fixes #45 Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/46 Co-authored-by: prplecake <me@prplecake.com> Co-committed-by: prplecake <me@prplecake.com>
[chore] Add js lint step (#35) Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/35 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
[feature] Nicer login.html page, with cute styling + link to source code (#19) Fixes #9 - Cute styling, combination of Mastodon and GTS - Short description of the project - Error and status messages (temporarily) appear in disabled button with correct ARIA attributes - Sufficient contrast (WCAG AAA) Let me know if using `login.scss` both as an index file and for adding custom styling is okay. I figured this might be preferred over creating an extra folder and file. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/19 Co-authored-by: vyxen <vyxen@tutamail.com> Co-committed-by: vyxen <vyxen@tutamail.com>
[bugfix] Fix blurhash losing proportion when more than one item (#17) Fixes #14 The style changes I made in #11 didn't take hidden media in consideration. This PR fixes it.   Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/17 Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com> Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
[feature] Send `local_only` instead of eyeball (#13) Co-authored-by: Ember <me@ember-is.gay> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/13 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
[Feature] Remove hardcoded limit of media (#11)
Fixes #7
The limit of upload and remote display media was hard coded to 4.
In this PR, I did the following changes:
- Status form now respects instance's upload limit config.
- Remove the limit of images shown on statuses
- Remote statuses may have more than local instance's limit
Also, I kept the 16:9 aspect ratio of the images. I can change to more complex layouts in future PRs if needed.
This works, but it needs more tests. I don't have how to change the config of my instance, so I had to test forcing duplicates on the post. Any help to validate configuration would be nice.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/11
Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
[bugfix] Make the logo icon / wordmark on mobile/simple UI appear (#4) At least for the logo-symbol-wordmark.svg, this appears to usually be added by some ruby code in application.html.haml, but since we have a static index.html this never gets inserted into the HTML. Rather than embedding it into the HTML, just make the two logos pull from files in public/. This does not update the branding of the files, just makes them appear. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/4 Co-authored-by: julia <midnight@trainwit.ch> Co-committed-by: julia <midnight@trainwit.ch>