UI New Repository/Migration : show full organisation name in menu selection #1977

Open
opened 2025-11-02 04:19:58 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @tst2005 on GitHub (Jun 26, 2018).

  • Gitea version (or commit ref): 1.4.2
  • Git version: 2.1.4
  • Operating system: Linux Debian 64bits
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (It should but try.gitea.io is currently down)
    • No
    • Not relevant
  • Log gist:

Description

It should be good to see full organisation names to choose the good one.
in "New repository" or "New Migration".

I fail to work with organisation like :

  • tst2005-github-pull-readonly
  • tst2005-github-push-done
  • tst2005-github-push-todo
  • etc.

Screenshots

gitea-ui-show-org-long-name

Originally created by @tst2005 on GitHub (Jun 26, 2018). - Gitea version (or commit ref): 1.4.2 - Git version: 2.1.4 - Operating system: Linux Debian 64bits - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (It should but try.gitea.io is currently down) - [ ] No - [ ] Not relevant - Log gist: ## Description It should be good to see full organisation names to choose the good one. in "New repository" or "New Migration". I fail to work with organisation like : * tst2005-github-pull-readonly * tst2005-github-push-done * tst2005-github-push-todo * etc. ## Screenshots ![gitea-ui-show-org-long-name](https://user-images.githubusercontent.com/1117821/41901916-759952a4-7932-11e8-8bf2-e271bbb8d46c.png)
GiteaMirror added the topic/uiissue/confirmed labels 2025-11-02 04:19:58 -06:00
Author
Owner

@tst2005 commented on GitHub (Jun 27, 2018):

The name is also truncated on the page refreshed just after an organisation created.

gitea-ui-create-org-name-truncated

The top rigth button truncate the name at 7 characters ... really ?!

@tst2005 commented on GitHub (Jun 27, 2018): The name is also truncated on the page refreshed just after an organisation created. ![gitea-ui-create-org-name-truncated](https://user-images.githubusercontent.com/1117821/41975765-ee892074-7a1b-11e8-813e-2e86513ff1f3.png) The top rigth button truncate the name at 7 characters ... really ?!
Author
Owner

@stale[bot] commented on GitHub (Jan 21, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 21, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@tst2005 commented on GitHub (Jan 21, 2019):

recent activity
@stale bot please just go die ;-)

@tst2005 commented on GitHub (Jan 21, 2019): *recent activity* @stale bot please just go die ;-)
Author
Owner

@6543 commented on GitHub (Sep 17, 2020):

@tst2005 still needed?

houver mouse over shorted org print help text with full name

@6543 commented on GitHub (Sep 17, 2020): @tst2005 still needed? houver mouse over shorted org print help text with full name
Author
Owner

@tst2005 commented on GitHub (Sep 22, 2020):

@6543 yes I still need it. it is still not critical, just QoL. Thanks!

@tst2005 commented on GitHub (Sep 22, 2020): @6543 yes I still need it. it is still not critical, just QoL. Thanks!
Author
Owner

@zeripath commented on GitHub (Oct 5, 2020):

OK basically the issue is that we use .ShortName 20 to deliberately shorten the name to 20 characters.

I've had a look at trying to add class="text truncate" in opportune places but we would need to adjust the y-size of the inline blocks to make sure that the icons aren't clipped and that descenders and ascenders in the text aren't simply clipped.

It's a bit fiddly.

@zeripath commented on GitHub (Oct 5, 2020): OK basically the issue is that we use `.ShortName 20` to deliberately shorten the name to 20 characters. I've had a look at trying to add `class="text truncate"` in opportune places but we would need to adjust the y-size of the inline blocks to make sure that the icons aren't clipped and that descenders and ascenders in the text aren't simply clipped. It's a bit fiddly.
Author
Owner

@tst2005 commented on GitHub (Oct 6, 2020):

I understand. The UI world is a maze of pain :P

@tst2005 commented on GitHub (Oct 6, 2020): I understand. The UI world is a maze of pain :P
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1977