Skip to content

Enable full name display instead of short name in nodes#971

Open
louisgreiner wants to merge 6 commits into
mainfrom
lgr/enable-full-name-in-nodes
Open

Enable full name display instead of short name in nodes#971
louisgreiner wants to merge 6 commits into
mainfrom
lgr/enable-full-name-in-nodes

Conversation

@louisgreiner

@louisgreiner louisgreiner commented Apr 29, 2026

Copy link
Copy Markdown
Contributor
Enregistrement.de.l.ecran.2026-05-12.103732.mp4

Comment thread src/app/view/editor-main-view/data-views/nodes.view.ts Outdated
Comment thread src/app/sample-netzgrafik/netzgrafik_default.json Outdated
Comment thread src/app/view/editor-main-view/data-views/nodes.view.ts Outdated
@aiAdrian

aiAdrian commented May 4, 2026

Copy link
Copy Markdown
Contributor
chrome-capture-2026-05-04.mp4

The long names should also be displayed in

  • Pearlsview
  • Streckengrafik (graphical timetable)
  • O/D Matrix

But the general idea of the feature is good.

@louisgreiner

Copy link
Copy Markdown
Contributor Author

Perlenkette, OD Matrix and Streckengrafik also react to this new parameter.

The PR is ready to review.

I'm only concerned on how to truncate the strings if the name is too long (for editor-main-view and perlenkette only (please note that "nodes" in the editor-main-view and the perlenkette do not have the same size, so the truncating can differ from a component to the other...).

@aiAdrian aiAdrian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Very nice new feature

@aiAdrian aiAdrian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

chrome-capture-2026-05-07.mp4

Reset button!

@louisgreiner louisgreiner moved this to Awaiting merge in Board PI 20 May 7, 2026
@louisgreiner louisgreiner self-assigned this May 7, 2026
@louisgreiner louisgreiner requested a review from aiAdrian May 12, 2026 07:58

@Pivouane Pivouane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@louisgreiner louisgreiner changed the title feat: enable full name display instead of short name in nodes feat(view): enable full name display instead of short name in nodes May 29, 2026
@louisgreiner louisgreiner changed the title feat(view): enable full name display instead of short name in nodes Enable full name display instead of short name in nodes May 29, 2026
@louisgreiner louisgreiner force-pushed the lgr/enable-full-name-in-nodes branch from e334a2b to 3df7097 Compare May 29, 2026 08:33
@louisgreiner louisgreiner force-pushed the lgr/enable-full-name-in-nodes branch 3 times, most recently from 180ad22 to d5f8f0c Compare May 29, 2026 08:36
@emersion

Copy link
Copy Markdown
Member

Seems like perlenkette is a little bit off:

out

Comment thread src/app/streckengrafik/components/slider/path-slider/path-slider.component.ts Outdated
Comment thread src/app/view/editor-main-view/data-views/nodes.view.ts Outdated
…main-view

Signed-off-by: Louis Greiner <louis.greiner@proton.me>

Signed-off-by: pierre santamaria <pierre.santamaria@epita.fr>
Signed-off-by: Louis Greiner <louis.greiner@proton.me>
…ngrafik

Signed-off-by: Louis Greiner <louis.greiner@proton.me>
…ette

Signed-off-by: Louis Greiner <louis.greiner@proton.me>
@louisgreiner

Copy link
Copy Markdown
Contributor Author

I cannot reproduce the bug on the Perlenkette (#971 (comment)) :/

Do you have a repro @emersion?

@emersion

Copy link
Copy Markdown
Member

I cannot reproduce the bug on the Perlenkette (#971 (comment)) :/

  1. Import networkGraphic(23).json
  2. Turn on full node names display
  3. Open Perlenkette

(Tested on Firefox with latest commit.)

@louisgreiner

Copy link
Copy Markdown
Contributor Author

This new filter is emitted in another PR: #1139

@louisgreiner

Copy link
Copy Markdown
Contributor Author

I can't reproduce the bug on Perlenkette, using the demo preview and following your instructions @emersion :/

https://web-preview.openrailassociation.org/nge-pr-971/

@emersion

Copy link
Copy Markdown
Member

I'm using the demo preview as well.

@louisgreiner

Copy link
Copy Markdown
Contributor Author

I'm using Firefox 140.11.0esr (old version I guess), could this be the reason why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting merge

Development

Successfully merging this pull request may close these issues.

6 participants