Commit Graph

15 Commits

Author SHA1 Message Date
SkyratBot
20037ddd42 [MIRROR] Make statpanel relay used mouse button when clicking turf contents (#6299)
* Make statpanel relay used mouse button when clicking turf contents (#59557)

Just makes it so statpanel clicks are relayed with the relevant mouse button instead of always left click. As of current it only relays shift/alt/ctrl modifiers.

* Make statpanel relay used mouse button when clicking turf contents

Co-authored-by: fira <loyauflorian@gmail.com>
2021-06-14 22:35:39 +12:00
SkyratBot
3b390699a1 [MIRROR] [The reconnect bug is maybe fixed] Queue stat panel commands, ideally fixing another source of the reconnect bug (#5860)
* Queue stat panel commands, ideally fixing another source of the reconnect bug (#59228)

* [The reconnect bug is maybe fixed] Queue stat panel commands, ideally fixing another source of the reconnect bug

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-05-23 04:36:07 +01:00
SkyratBot
1f42df4c6a [MIRROR] Allow splitting admin tabs (#4890)
* Allow splitting admin tabs

* Update statbrowser.html

* aaaa

Co-authored-by: celotajstg <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-13 18:49:19 +01:00
SkyratBot
75c4af7130 [MIRROR] Adjust stat panel grid item widths and breakpoints (#4793)
* Adjust stat panel grid item widths and breakpoints (#58295)

* Adjust stat panel grid item widths and breakpoints

* Update statbrowser.html

Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* Adjust stat panel grid item widths and breakpoints

Co-authored-by: celotajstg <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
2021-04-10 17:59:22 +01:00
SkyratBot
b0b102e2b9 [MIRROR] focus changes (like opening a verb window) caused by clicking stat verbs work again (#4732)
* stat panel focus reset happens _before_ verb commands are ran (#58196)

* focus changes (like opening a verb window) caused by clicking stat verbs work again

Co-authored-by: William Wallace <me@wiox.me>
2021-04-08 03:06:27 +01:00
SkyratBot
3e089d5536 [MIRROR] remove input pass-through from statpanel and give focus to map instead (#4663)
* remove input pass-through from stat panel and just try not to keep focus instead (#58143)

About The Pull Request

The input pass-through didn't work anyway, as it would pass through lower-case keys which our input code doesn't understand (unless you were holding shift or hadcaps lock on.) It also didn't translate arrow keys to NORTH, etc. which is how BYOND expects them.

If you double clicked on the stat panel it would eat all following input from you. If you happened to have caps lock on, you might not notice this because the correct WASD values get passed to BYOND. If you were then to stop walking while holding shift because you want to examine something, your key release would be sent to BYOND as lowercase, causing it to be ignored.

Under all of those conditions, your movement would get stuck in one direction. It's more likely than you think!!!

A similar chain of events could cause Alt releases to not be sent to BYOND due to this as well.

--

The fix is to just give back focus to the map similarly to how TGUI does it. It's not quite as majestic as TGUI, but it seems to have fine results.
Why It's Good For The Game

Nobody likes sticky keys
Changelog

🆑
fix: Stat panel no longer captures input (potentially causing keys to get stuck down)
/🆑

* remove input pass-through from statpanel and give focus to map instead

Co-authored-by: William Wallace <me@wiox.me>
2021-04-05 02:18:16 +01:00
SkyratBot
c5225c4ac9 [MIRROR] Updates statpanel verb widths to be more dynamic at higher screen resolutions. (#4031)
* Make percentage width great again (#57577)

* Updates statpanel verb widths to be more dynamic at higher screen resolutions.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-03-10 02:31:42 +01:00
SkyratBot
18a3bfa252 [MIRROR] Use better layout for verbs in stat panel (#4018)
* Use better layout for verbs in stat panel (#57527)

* Use better layout for verbs in stat panel

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-03-09 17:29:36 +00:00
SkyratBot
91773c46da [MIRROR] Interview System / Soft Panic Bunker (#1458)
* Interview System / Soft Panic Bunker

* a

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-10-26 08:32:37 +01:00
SkyratBot
f0d4cc4f04 [MIRROR] fix statpanel deleting whole admin tab (#1183)
* fix statpanel deleting whole admin tab (#54211)

fix: adminhelping no longer removes entire admin tab
fix: end of round no longer removes entire admin tab

* fix statpanel deleting whole admin tab

Co-authored-by: Couls <coul422@gmail.com>
2020-10-07 15:57:51 +02:00
SkyratBot
df3c9f87cb [MIRROR] Restyles Stat Panel, Adds Subpanel Sub-Categories (#1044)
* Restyles Stat Panel, Adds Subpanel Sub-Categories (#53947)

I re-styled the CSS for the stat panel in hopes to make it look nice, and I also added the ability to use sub-categories (currently a single level) of verbs using a . (period), an example being Admin.Fun instead of the previous Admin - Fun. This now results in a sub-category being automagically generated in the stat panel.

* Restyles Stat Panel, Adds Subpanel Sub-Categories

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-09-29 12:31:56 +02:00
SkyratBot
496811ef6c [MIRROR] Optimize stat panel and fix guardian verbs (#804)
* Optimize stat panel and fix guardian verbs (#53463)

Optimizes stat panel code for better performance, including icon caching and removing some unnecessary processing
Also fixes #53432
fix #53381
fix #53724
Changelog

add: icons are back on alt clicks
fix: horrible performance from alt clicking turfs with multiple objects
tweak:browser should notify the SS when it's ready to receive data

* Update statbrowser.html

* Apply suggestions from code review

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* hidden = TRUE

* almost ready

* Browser should notify when ready to receive data

* Apply MSO's suggestions

* reset cache if something in it gets deleted

* Fix runtime

* fix my stupid code

* send href_token when adding admin tabs

* fix an issue with cyborg suit topic

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* Optimize stat panel and fix guardian verbs

Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
2020-09-15 09:17:31 +02:00
SkyratBot
df7b65aca2 [MIRROR] Fix Alt Clicking opening up a window and Add back some object verbs to the browser stat panel (#630)
* Fix Alt Clicking opening up a window and add back some object verbs to the browser stat panel (#53369)

Fixes some more issues with browser stat panel

- Alt clicking items in the listed turf tab doesn't open up a popup
- Toggle suit sensors button missing

* Fix Alt Clicking opening up a window and Add back some object verbs to the browser stat panel

Co-authored-by: Couls <coul422@gmail.com>
2020-09-04 00:11:50 +01:00
SkyratBot
c4c9dfabf6 [MIRROR] Fix various issues with browser statpanel (#580)
* Fix various issues with browser statpanel

* a

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-02 02:42:40 +02:00
SkyratBot
1c1ce7b055 [MIRROR] Browser Status Panel (#548)
* Browser Status Panel (#53112)

* Browser Status Panel

Co-authored-by: Couls <coul422@gmail.com>
2020-08-29 20:26:27 +01:00