Comments (6)
This refresh icon is kinda confusing. It shows up only after you’ve changed an import map, which is also the exact time you’d want to refresh the page, which is generally what this icon means, but not here
It's unclear which situation you're talking about - are you referring to overrides automatically applied for libraries like react
when using the dev-libs
option (to use react.development.js instead of react.production.min.js)? If so, then the page does need a refresh for those overrides to be applied.
from import-map-overrides.
No. I'm talking about regular old import map overrides for an import map you've specified to localhost for example.
the page does need a refresh for those overrides to be applied.
I fully understand that. And this is exactly what makes the UX confusing.
To reproduce:
- Apply an override for an import map
- The page refresh icon appears next to the
Inline Override
text but clicking it does not refresh the page, instead it opens the edit modal
from import-map-overrides.
I see, yeah I'm open to the reload icon becoming a button that reloads the page. Do you have interest in submitting a pull request implementing this?
from import-map-overrides.
from import-map-overrides.
Sorry, just being realistic here, I won't be able to get to this in the near future so don't wait for me to implement this if you or anyone else finds time for this.
from import-map-overrides.
I had some time today so I implemented this in e00d6d9 and released it in https://github.com/joeldenning/import-map-overrides/releases/tag/v2.4.0
from import-map-overrides.
Related Issues (20)
- Using import-map-overrides for making an 'in-browser' IDE. HOT 1
- IE 11 broken HOT 4
- Overrides triggers cross-origin issue when loaded into iframe (MS Teams) HOT 1
- buttons in ui can get "bad" styling HOT 1
- Failed to execute `attachShadow` on `Element` in 3.0.0 HOT 10
- Server-side single maps - cookie should specify a path HOT 1
- Bug introduced by terser HOT 1
- Is there a way to disable Auto Dev Lib Override? HOT 2
- how can i create E2E cypress tests? HOT 4
- Hi, I have this error in the console : Shadow root cannot be created on a host which already hosts a shadow tree. HOT 7
- Is it possible to support SystemJS and native imports at the same time? HOT 1
- Import maps blocked in Safari HOT 2
- cross-origin when trying to embed the single-spa app, with devtools enabled, in an iframe HOT 1
- Add configuration to control where the UI button is positioned HOT 4
- Relative imports in an import map accessed from a remote JSON file should be resolved w.r.t. the domain of the remote, not the domain of the host HOT 3
- Attribute trigger-position does not have any effect HOT 3
- An import map is added after module script load was triggered. HOT 2
- When parsing an empty script tag of type importmap the parser throws an error. Is this OK?
- Warning while building import-map-overrides-server.js HOT 1
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 import-map-overrides.