Skip to content

[FEATURE] Allow more flexible node ids - #362

Merged
skorpy2009 merged 1 commit into
freifunk:mainfrom
freifunkstuff:feature/generic-node-ids
May 11, 2026
Merged

[FEATURE] Allow more flexible node ids#362
skorpy2009 merged 1 commit into
freifunk:mainfrom
freifunkstuff:feature/generic-node-ids

Conversation

@micw

@micw micw commented May 6, 2026

Copy link
Copy Markdown
Contributor

Based on #361, rebase and merge afterwards!

Description

Allow "generic" node ids (alphanumeric + dot).

Motivation and Context

Node IDs are restricted to a fixed length hex string (mac address). This is not compatible with all communities. E.g. Dresden and Leipzig use numeric IDs.

How Has This Been Tested?

Unit tests + Firefox

Screenshots/links:

grafik

Checklist:

  • My code follows the code style of this project. (CI will test it anyway and also needs approval)
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

@micw
micw force-pushed the feature/generic-node-ids branch from 525b1a0 to 3dd0112 Compare May 7, 2026 05:50
@micw micw changed the title [FEATURE] Allow more flexible node ids [WIP] [FEATURE] Allow more flexible node ids May 7, 2026

@maurerle maurerle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me as a second commit.

I really like adding some tests to meshviewer!

@maurerle

Copy link
Copy Markdown
Member

please rebase this. Is there anything still WIP?

@skorpy2009 skorpy2009 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

rebase needed

@micw
micw force-pushed the feature/generic-node-ids branch from 3dd0112 to d718e81 Compare May 10, 2026 14:20
@micw micw changed the title [WIP] [FEATURE] Allow more flexible node ids [FEATURE] Allow more flexible node ids May 10, 2026
@micw

micw commented May 10, 2026

Copy link
Copy Markdown
Contributor Author

please rebase this. Is there anything still WIP?

No, only the previous PR which added the demo data (which was extended in this commit)

@skorpy2009

Copy link
Copy Markdown
Member

There are still conflicts. Please have a look

…nit-Tests

Signed-off-by: Michael Wyraz <michael@wyraz.de>
@micw
micw force-pushed the feature/generic-node-ids branch from d718e81 to 95bbdc3 Compare May 11, 2026 04:28
@micw

micw commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

There are still conflicts. Please have a look

"Still" == "Again" ;-)

Since I'm adding a bunch of test dependencies, it affects package.json + package.lock, so everytime this is changed upstream there's a new conflict.

It's rebased and pushed now.

@skorpy2009
skorpy2009 requested a review from MyIgel May 11, 2026 18:45

@skorpy2009 skorpy2009 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@skorpy2009
skorpy2009 merged commit 7ccae00 into freifunk:main May 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants