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>
Upgrade to Webpack 5 (#83) Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/83 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>
[chore] Update to yarn 4 (#90) Update to yarn 4 and use `masto-fe-standalone-woodpecker-build` container for builds. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/90 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
[docs] update AUTHORS.md (#89) Removes Mastodon authors and replaces it with Sloth Flavour authors. Also adds a special thanks section to attribute the original project authors. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/89 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[docs] update changelog (#87) Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/87 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>
[docs] Add changelog based on “Keep a Changelog” (#80) Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/80 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[build] update caniuse-lite browserlist (#81) Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/81 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[bugfix] correctly format editorconfig (#78) I had incorrectly assumed you could split the array over multiple lines. Also removed non-existant (for now) files. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/78 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
[feature] Preserve 'mastodon-settings' from localStorage on logout (#66)
This preserves the settings for the FE, things like theme, etc.
---
Retains the `mastodon-settings` object from localStorage on logout. I think this is safe to do, it doesn't appear there's any instance-specific or otherwise sensitive info in this object:
```json
{
"side_arm_reply_mode": "keep",
"media": {
"use_blurhash": true,
"letterbox": false,
"fullwidth": true,
"reveal_behind_cw": false,
"pop_in_player": true,
"pop_in_position": "right"
},
"stretch": true,
"inline_preview_cards": true,
"hicolor_privacy_icons": false,
"notifications": {
"favicon_badge": false,
"tab_badge": true
},
"confirm_missing_media_description": false,
"theme": "mastodon",
"layout": "mobile",
"preselect_on_reply": false,
"status_icons": {
"language": true,
"reply": true,
"local_only": true,
"media": true,
"visibility": true
},
"prepend_cw_re": false,
"confirm_boost_missing_media_description": false,
"tag_misleading_links": true,
"side_arm": "none",
"collapsed": {
"enabled": true,
"auto": {
"all": false,
"notifications": false,
"lengthy": true,
"reblogs": false,
"replies": false,
"media": false,
"height": 400
},
"backgrounds": {
"user_backgrounds": false,
"preview_images": false
},
"show_action_bar": true
},
"show_reply_count": false,
"confirm_before_clearing_draft": true,
"rewrite_mentions": "no",
"content_warnings": {
"auto_unfold": false,
"filter": null,
"media_outside": true,
"shared_state": true
},
"always_show_spoilers_field": true,
"show_content_type_choice": true
}
```
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/66
Co-authored-by: Matthew Jorgensen <me@prplecake.com>
Co-committed-by: Matthew Jorgensen <me@prplecake.com>
[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>
[docs] add documentation for `yarn dev` (#75) Added a few lines about running `yarn dev`. It’s easy enough to miss which port it runs on or whether it runs a server at all. Having this explicit URL should help. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/75 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>