Comments (7)
As the tag would still exist after you remove it from Home Assistant, we should change the button tot Remove
.
from frontend.
So we should use "remove" because the tag still physically exists or did I misunderstand that?
from frontend.
Correct
from frontend.
I'm not sure if I would follow for that reason to make it "remove". It still deletes the tag from Home Assistant in a non recoverable way. "remove" mentions it is kept in existence, which means it's still somewhere around but no longer associated or referenced.
We also use "delete" for floors and areas for example, which also exist physically, which is sort of the same example. I think the line should be crossed to say that "delete" and "remove" apply for things in Home Assistant.
from frontend.
I've researched it a bit more and come to the following conclusion:
- The term Remove should always be used when an item/setting or content is to be removed or disassociated, but the action can be reversed or reapplied.
- The term Delete should always be used to refer to any action that will cause the permanent deletion of an item/setting or content.
Added this to our design docs #21297
In this case, you can add the tag again. It's recoverable, so it can be Remove.
At the same time when removing a tag, you will break automations. That is a non-recoverable action, so it can be Delete.
I can live with both.
from frontend.
I've opened a pull request for "delete" if you don't mind. Reading the design doc, I still interpret "delete" as delete everything that is known to the tag while "remove" to me is clear the associations, but keep the tag present in Home Assistant.
In fact, everything is recoverable, depending on how much time you want to spend.
from frontend.
After reading these resources below, it follows your previous/current design documentation with the addition that "remove" can also be used if you delete something to the trash can, which means it can be undone and thus recoverable.
- https://adnanpuzic.medium.com/the-difference-between-remove-and-delete-7f6c1771e40f
- https://uxmovement.com/buttons/remove-vs-delete-when-to-use-which/
from frontend.
Related Issues (20)
- Number Entity Cannot be accessed using Labels as a Reference HOT 1
- Numerous call_service events with message "Unhandled promise rejection" HOT 4
- Complications from shadyCSS @apply shim and lit polyfill support HOT 4
- Unable to delete a wrongfully configured 'History Stats'-helper (no delete button in GUI) HOT 3
- "Retrying in x seconds" is an increasingly negative number HOT 1
- Keyboard stops working when setting Light brightness HOT 1
- Reolink integration: disallowed password characters HOT 2
- Balanced entitie doesn't appear in RLC-510A HOT 1
- Settings -> Entities: excluding an entity from an "Area" does not update a view
- open home foundation logo flows off the screen
- Blueprints imported via generated My HA widget links broken when original link contains spaces. HOT 6
- Area card: average temperature - seems that devices are not accounted HOT 2
- Alarm_panel Tile changes mode even though code is not entered/dismissed
- Automation that is disabled becomes enabled after a HA restart HOT 3
- Dev tools: prevoiusly selected "Assist" page is stuck HOT 4
- new Badges (and some other cards): last_changed may be displayed as "in xxx seconds" (countdown) HOT 6
- unable to build frontend: Error [ERR_REQUIRE_ESM]: require() of ES Module is not supprted HOT 1
- Last Update for sensors not consistant between mobile device and PC HOT 2
- Editing a todo list item due date and saving causes date to be out by one day. Google Tasks Integration. HOT 1
- Inconsistent dialog when deleting backup (no red text)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontend.