Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge and port upstream's composer change #2644

Conversation

ClearlyClaire
Copy link

@ClearlyClaire ClearlyClaire commented Feb 22, 2024

Fixes #2591

Unlike most changes, this will need to be ported straight away due to the widespread translation string changes.

image
image
image

List of glitch-soc features that need to be reimplemented for the new design

  • glitch-soc settings in drawer tab bar
  • notification badge in drawer tab bar
  • configurable limits for characters and poll options
  • secondary post privacy
  • confirmation when posting media without description
  • always enable CW field (still some bugs)
  • prepend “re: ” in CW when replying
  • optionally pre-select usernames on reply
  • content-type choice
  • local-only posting
  • threaded mode
  • option to use native emoji font (relevant in picker)
  • Link vs Permalink
  • glitchy mascot
  • doodle

Merge upstream changes up to 6936e5a

Conflicts

Conflicts:

  • app/javascript/mastodon/features/compose/components/compose_form.jsx:
    Upstream completely redesigned this, and glitch-soc had different handling for the character limit.
    Ported upstream's change to the new version.
  • app/javascript/mastodon/features/compose/components/poll_form.jsx:
    Upstream completely redesigned this, and glitch-soc had different limits for option length and number of options.
    Ported glitch-soc's changes to the new version.

Additional change:

  • app/javascript/styles/components.scss:
    Change how the new image is looked up.

Ported changes

Additional changes

A whole lot!

Gargron and others added 2 commits January 25, 2024 15:41
…oc/merge-upstream-composer

Conflicts:
- `app/javascript/mastodon/features/compose/components/compose_form.jsx`:
  Upstream completely redesigned this, and glitch-soc had different handling for
  the character limit.
  Ported upstream's change to the new version.
- `app/javascript/mastodon/features/compose/components/poll_form.jsx`:
  Upstream completely redesigned this, and glitch-soc had different limits for
  option length and number of options.
  Ported glitch-soc's changes to the new version.

Additional change:
- `app/javascript/styles/components.scss`:
  Change how the new image is looked up.
@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch 2 times, most recently from 8b79fa1 to 47fd18d Compare February 22, 2024 22:42
@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch 2 times, most recently from 74541aa to 47c67b1 Compare February 23, 2024 00:35
@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch from 3cce898 to 22448ef Compare February 23, 2024 01:14
@ClearlyClaire
Copy link
Author

kind of a mess but most of the functionality is back
image

@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch 5 times, most recently from 6bcbf77 to b2bcd3d Compare February 23, 2024 12:49
@mkody
Copy link

mkody commented Feb 23, 2024

Could the local-only setting be integrated with the Visibility options? This could save up some space.
Similarly to how Sharkey recently implemented it when you try to boost a post:
image

@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch from 78379f8 to d9c4f89 Compare February 23, 2024 18:05
@ClearlyClaire
Copy link
Author

Could the local-only setting be integrated with the Visibility options? This could save up some space. Similarly to how Sharkey recently implemented it when you try to boost a post: image

That could make sense, but that would be more work, and also I'm afraid this would not be visually apparent enough once the option is closed?

@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch 2 times, most recently from 3935f74 to cdf9499 Compare February 23, 2024 19:32
@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch from cdf9499 to 978cbad Compare February 23, 2024 19:58
@ClearlyClaire ClearlyClaire changed the title [WiP] Merge and port upstream's composer change Merge and port upstream's composer change Feb 23, 2024
@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch from 978cbad to a59b4eb Compare February 23, 2024 20:02
@ClearlyClaire ClearlyClaire force-pushed the glitch-soc/merge-dreaded-upstream-composer-change branch from a59b4eb to 6eede9d Compare February 23, 2024 20:05
@ClearlyClaire ClearlyClaire marked this pull request as ready for review February 23, 2024 20:13
@ClearlyClaire
Copy link
Author

Some features are still missing, but they are kind of a pain to do…

@ClearlyClaire ClearlyClaire merged commit 25ac55e into glitch-soc:main Feb 24, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Glitch-soc web UI doesn't ask for media description when using Command/Control-Enter to send post
3 participants