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

Fix organization storage layouting #7034

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Fix organization storage layouting #7034

merged 2 commits into from
Apr 28, 2023

Conversation

hotzenklotz
Copy link
Member

@hotzenklotz hotzenklotz commented Apr 28, 2023

PR fixes line breaks for the storage display on the organization page. Rendering will typically default to a two line style.

Before

image

After

image

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • Go to /admin/organization
  • Storage space should use two lines / not overflow into the circle

Issues:

  • None

(Please delete unneeded items, merge only when none are left open)

@hotzenklotz hotzenklotz self-assigned this Apr 28, 2023
const storageLabel = (
<span style={{ display: "inline-block", wordBreak: "break-word", width: 100 }}>
{usedStorageLabel} /
<wbr />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't know that one 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hab ich auch erst die Tage gelernt

@hotzenklotz hotzenklotz merged commit c241193 into master Apr 28, 2023
2 checks passed
@hotzenklotz hotzenklotz deleted the fix_orga_space_style branch April 28, 2023 10:55
hotzenklotz added a commit that referenced this pull request May 3, 2023
…os into remove_wkconnect

* 'no-more-wkconnect' of github.com:scalableminds/webknossos:
  Fix exception in applying UpdateTreeGroupVisibility skeleton action (#7037)
  Fix organization storage layouting (#7034)
  adapt schema version numbers
  adapt schema number
  changelog + migration guide
  delete datastore in migration. add changelog
  snapshots, test db
  remove isConnector property for datastores
hotzenklotz added a commit that referenced this pull request May 17, 2023
…ty-list-drawings

* 'master' of github.com:scalableminds/webknossos: (25 commits)
  Fix issues with styling in dark mode on login page (#7052)
  Fix nightly by setting missing token (#7048)
  Release 23.05.1 (#7042)
  DRY types in update_actions.ts (#7036)
  Remove some spammy logging from backend (#7039)
  Use zarr string fill values (#7017)
  Fix voxel offset for Neuroglancer Precomputed datasets (#7019)
  Log when user is activated (#7027)
  Fix exception in applying UpdateTreeGroupVisibility skeleton action (#7037)
  Fix organization storage layouting (#7034)
  Update docker compose commands + dev install readme (#7002)
  Add segment groups (#6966)
  Add screenshot nightly test for wkorg (#7030)
  Workaround for WebGL crash for datasets with many segmentation layers (#6995)
  Fix download of public annotation, include access ctx in user cache key (#7025)
  Fix that changing a segment color could lead to a crash (#7000)
  Add more error chaining to annotation download (#7023)
  Guard against NaNs in shader (#7018)
  Store editable mappings in multiple fossildb columns+keys (#6903)
  Context action to move tree to group (#7005)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants