Comments (9)
for more than a reason
- atm u need to support different ops keys "ctrl vs cmnd"
- the user might have already assigned the same keys for something else "os level or site level"
- using a btn is much easier and u dont need to reach for ur keyboard each time u want to disable/enable as for debugging u r mostly going to use the mouse.
- using a shortcut means the user have to memorize it, what if there are more than one dev on the same project ?
- keycodes not persistent across browsers nor easy to maintain
from laravel-view-xray.
Any reason why?
from laravel-view-xray.
@mpociot any updates ?
from laravel-view-xray.
Do you want to provide a PR with the changes for this?
from laravel-view-xray.
do u want to keep the shortcuts or remove em ?
for btn styling, do you want it to be configurable or static?
and to make sure, this is the part that should be replaced
laravel-view-xray/resources/assets/xray.js
Lines 17 to 29 in 0c0f923
correct ?
from laravel-view-xray.
I guess we can just make the button styling static.
What do you think of having the shortcuts configurable? Not the actual keys, but the ability to enable/disable them?
And yes - that's the part that needs to be updated
from laravel-view-xray.
What do you think of having the shortcuts configurable? Not the actual keys, but the ability to enable/disable them?
yeah why not, but if you are going to make it configurable why not go the extra mile and make the shortcut it self configurable ?
on a side note,
i was thinking maybe we can turn the whole UI into a browser extension, something like vuejs, blackfire, etc..
but am not sure how it will be done 😞
from laravel-view-xray.
yeah why not, but if you are going to make it configurable why not go the extra mile and make the shortcut it self configurable ?
That's a great idea!
And I also thought about turning this (among other things) into a browser extension, but haven't found the time to look into it in more detail
from laravel-view-xray.
okay so to keep things simple, lets replace the shortcuts with a btn for now & the extra config could be added later to the browser ext, this way we won't need to do big changes to the package.
btw we can open a new issue for the browser ext idea, maybe someone can pick it up.
also i was thinking of dropping jquery, again it would make things easier when converting to an ext.
from laravel-view-xray.
Related Issues (20)
- If response does not have view, than it does break HOT 1
- Response breaks when adding parenthesis in @section value
- Linux shortcut (not working maybe) HOT 1
- xray display none but xray use true in .env HOT 2
- Use relative path as tooltip content
- When trying to display en error page (with whoops) does not show the correct message
- Linux/Chrome Hotkey Ctrl + Shift + X doesn't seem to work HOT 2
- Laravel 5.7 HOT 2
- JS error when returning simple view
- Just a tip for those having issues... HOT 1
- Add Laravel 8 support
- Update PHP-Version requirement to PHP 8? HOT 2
- Wrong image url
- Add Livewire Support
- Overlay not appearing HOT 11
- Throwing Exception HOT 4
- Conflicting Shortcuts HOT 2
- Shortcut not working HOT 2
- injectXrayBar needs api or route exclude 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 laravel-view-xray.