separate EOL and deprecated devices#81
Conversation
|
In general, I am in favor of adding a banner for 8/64 devices - or adding them to deprecated devices. To the PR itself: There is no option to filter for EOL devices instead of deprecated devices - and by changing the definition of deprecated to eol and introducing a new eol group, the filter #16 does not work correctly anymore (e.g. does not include 4/32 anymore). |
|
Actually, even OpenWRT does not state a timeline or that they will be "out of support soon": |
This was not meant as a 8/64 banner, but generally a second banner to warn for removal of devices in the future. Unlike the current warning that the devices already have lost their support.
You can simply define an empty list and then there is nothing warned about.
This is just a sample text, don't focus too much on the 8/64 here. |
I don't understand what you mean here. All filters work fine for me: |
d0bcbbf to
dbde12f
Compare
maurerle
left a comment
There was a problem hiding this comment.
Can you rebase onto main please?
dbde12f to
21f4031
Compare
|
Thanks - I did just deploy this in FFAC - with a small fix: For devices you don't have on your map, you can check the model drop down of this grafana dashboard: Other than that, I like it! :) |
I have a tool that gets a list of all devices of the major communities. If you want, I can share this with you, remind me :) EDIT: It seems there are both variants with "v1" and lower-case TP-Link and some without and an upper-case TP-LINK, but I didn't find a 305 so assume it's the same. I added both variants now for each model. |
21f4031 to
4cc4287
Compare
4cc4287 to
b6deb51
Compare
|
@skorpy2009 @MyIgel can you review and merge this please? :) |
Djfe
left a comment
There was a problem hiding this comment.
In principle I'm on board with this change.
Issues we faced in Aachen were issues caused by browser caches.
The translation was updated prior to the javascript code. Resulting in 4/32 devices (old deprecated) being presented with the red warning label but the text for the 8/64 warning.
Maybe this can be prevented by replacing internal variable names or adjusting cache times prior to roll-out?
| "close": "close", | ||
| "deprecation": "This node is deprecated, and will be out of support soon. More information under <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>.<br>If you're the owner, please replace it with an modern device!", | ||
| "deprecation": "deprecated", | ||
| "deprecation-text": "This node is deprecated, and will be out of support soon. More information under <a href='https://openwrt.org/supported_devices/864_warning'>8/64 warning</a>.<br>If you're the owner, please replace it with an modern device!", |
There was a problem hiding this comment.
| "deprecation-text": "This node is deprecated, and will be out of support soon. More information under <a href='https://openwrt.org/supported_devices/864_warning'>8/64 warning</a>.<br>If you're the owner, please replace it with an modern device!", | |
| "deprecation-text": "Note: This node is deprecated, and will be out of support soon. Further details can be found at <a href='https://openwrt.org/supported_devices/864_warning'>8/64 warning</a>.<br>If you're the owner, please consider replacing it with a more modern device in order to maintain access to the network.", |
| "deprecation": "deprecated", | ||
| "deprecation-text": "This node is deprecated, and will be out of support soon. More information under <a href='https://openwrt.org/supported_devices/864_warning'>8/64 warning</a>.<br>If you're the owner, please replace it with an modern device!", | ||
| "eol": "end-of-life", | ||
| "eol-text": "This node has reached end-of-life, and is not supported anymore. More information under <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>.<br>If you're the owner, please replace it with an modern device!", |
There was a problem hiding this comment.
| "eol-text": "This node has reached end-of-life, and is not supported anymore. More information under <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>.<br>If you're the owner, please replace it with an modern device!", | |
| "eol-text": "Note: This node has reached end-of-life, and is not supported anymore. Further details can be found at <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>.<br>If you're the owner, please consider replacing it with a more modern device in order to maintain access to the network.", |
| "deprecation": "deprecated", | ||
| "deprecation-text": "Warnung: Dieser Knoten ist veraltet, und wird in Zukunft nicht mehr unterstützt. Mehr Infos unter <a href='https://openwrt.org/supported_devices/864_warning'>4/32 warning</a>. <br> Wenn du der Eigentümer des Gerätes bist, bitten wir dich, das Gerät zu ersetzen, um weiterhin am Netz teilnehmen zu können.", | ||
| "eol": "end-of-life", | ||
| "eol-text": "Warnung: Dieser Knoten ist veraltet, und nicht mehr unterstützt. Mehr Infos unter <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>. <br> Wenn du der Eigentümer des Gerätes bist, bitten wir dich, das Gerät zu ersetzen, um weiterhin am Netz teilnehmen zu können.", |
There was a problem hiding this comment.
| "eol-text": "Warnung: Dieser Knoten ist veraltet, und nicht mehr unterstützt. Mehr Infos unter <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>. <br> Wenn du der Eigentümer des Gerätes bist, bitten wir dich, das Gerät zu ersetzen, um weiterhin am Netz teilnehmen zu können.", | |
| "eol-text": "Warnung: Dieser Knoten hat das Ende seiner Lebensdauer erreicht, und wird nicht mehr unterstützt. Weitere Infos unter <a href='https://openwrt.org/supported_devices/432_warning'>4/32 warning</a>. <br> Wenn du der Eigentümer des Gerätes bist, bitten wir dich, das Gerät zu ersetzen, um weiterhin am Netz teilnehmen zu können.", |
|
@Djfe this problem is unrelated to this PR here and should probably be addressed outside of this PR? |
|
In that case sorry for the noise 😅 Which problem are you referring to? I couldn't find any issues in the code during my review :) |
i guess you can fix this issue with updating also the meshviewer/lib/config_default.ts Lines 92 to 93 in 8131fae |
|
Freifunk Donau-Ries would like to use this feature too. |
|
the i guess the CI would pass if: #110 was merged |
|
this pr is currently running fine on or PR (freifunkMUC@5d45efa) |
|
@maurerle do you know when this could be merged? Some Dependabot PRs are waiting to be merged as well. |
|
Nvm. @skorpy2009 @MyIgel can you have a look at it? |
|
@grische can you rebase this PR please? |
|
The changes to the language files suggested by @Djfe should also be implemented before merging: #81 (review). |
|
Is the effort worth it? We haven't gotten any feedback from upstream here. |
|
rebasing is at least useful if other communities would like to apply this patch on top of the latest change. |
|
I am happy to Rebase if this gets merged, but I don't want to maintain this code twice. Can you maybe base it off of our fork? Or we just make a more proper fork without customisations if this repo and base our customisation on top of it |
|
our fork https://github.com/freifunkMUC/meshviewer is also not uptodate, we need to update our fork also so we got all changes from upstream :/ |
18435b2 to
10a5f4c
Compare
|
Rebased to latest version again |
10a5f4c to
6939d4c
Compare
|
Please run |
6939d4c to
1c091e3
Compare
review comments are unrelated to the changes this PR wants to make
|
interesting, I didn't get an email notification about:
(just to let you know about this in-case you use Github's dismissal feature again) and indeed, yes they are :) |



Description
Adding a separation between EOL and Deprecated devices.
Motivation and Context
Adding a separation as 4/32 devices have already reached EOL a while ago and will not be "soon loose support", while at the same time, we have candidates that might loose support soon.
How Has This Been Tested?
https://map.ffmuc.net as part of freifunkMUC#70
Screenshots/links:
See https://map.ffmuc.net
Checklist:
This PR resolves #75