~cytrogen/masto-fe

14030312 — Ittihadyya 6 months ago
Implemented functionality for the setting governing delete confirmation dialogs
88b97fa0 — Ittihadyya 6 months ago
fix typo and reword setting to be consistent with \'confirm_VERB\'
220516e7 — Ittihadyya 6 months ago
tweaked wording
36d03357 — Ittihadyya 6 months ago
removed \'boostModal\' and cleaned up the logic
12b9cd33 — Ittihadyya 6 months ago
make defaults sensible
a64fc629 — Ittihadyya 6 months ago
Added boost confirmation modal. Shortcut `b` currently works with modal, but `Shift + b` does *not*
5919d632 — Ittihadyya 6 months ago
Add settings for confirmation dialogs within "General Settings" and add localization for english
a011c5ad — Zoë Bijl 6 months ago
[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>
d7d01360 — Zoë Bijl 6 months ago
[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>
e36d764a — Matthew Jorgensen 6 months ago
[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>
c6eb0b19 — Zoë Bijl 6 months ago
[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

![redesigned login page with the mentioned changes](/attachments/53dc5c16-deac-4a68-912e-8a4486a93b53)

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>
4edb2f2b — Zoë Bijl 6 months ago
[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>
110c8fb8 — Sqx. Flann 9 months ago
[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>
6d0b964e — Sqx. Flann 10 months ago
[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>
60792ec7 — prplecake 10 months ago
[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>
[docs] Mention correct port (80 not 3000) (#58)

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/58
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
f61625f4 — prplecake 11 months ago
[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>
02106153 — prplecake 11 months ago
[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>
[bugfix] Update public/auth.js (#38)

trim trailing spaces from user input for Instance URL

Fix for Issue #37

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/38
Co-authored-by: daj <daj@findmyinbox.co.uk>
Co-committed-by: daj <daj@findmyinbox.co.uk>
[docs] add CONTRIBUTING.md (#36)

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/36
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Next