-
Notifications
You must be signed in to change notification settings - Fork 16
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
separate EOL and deprecated devices #81
base: main
Are you sure you want to change the base?
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
@@ -99,6 +99,9 @@ | |||
"none": "none", | |||
"remove": "remove", | |||
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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? |
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