Commit graph

75 commits

Author SHA1 Message Date
Pingumask
b8d17d4ebe Night order option always on for storyteller 2023-07-30 15:56:40 +00:00
pingumask
c721637d90 Fix linter issues 2023-05-09 17:43:00 +00:00
MRegnard
3e859a8850
Adding the Organ Grinder (#42)
* Adding Organ Grinder's icon

* Adding Organ Grinder's English description

* Adding Organ Grinder's French Description

* Adding Organ Grinder's English Jinxes

* Adding Organ Grinder's French Jinxes

* Correcting a typo

* Correcting a typo

* Adding a new icon

* Temporary change to test presence of new icon

* Adding some texts

They will be useful later

* Adding some texts, useful later

* Adding print in History for hidden vote

* Correcting history's print

* Adding new token for Organ Grinder

* New token for Organ Grinder

* Adding new (boolean) parameter for hidden vote

* Adding a new option in the menue

Without effect for now

* Cancelling previous update

* Adding new option in the menue

For now, without the bad effect

* Test: is the variable "isOrganGrinder" detected?

* The option in the menue can now change a variable

* Updating the saving of vote history

Taking account the possibility of Organ Grinder

* Correcting the previous commit

Deleting an unexpected "locale"

* Testing new way

Because of its folder, this file doesn't have access to the grimoire. I test now to give the boolean "organVote" as a parameter.

* Testing giving "organGrinder" as a parameter

* Testing to find the "grimoire" variable

* Adding a print for debbug

* Deleting the console.log, but adding a new test

* Test to know if the bool variable is seen

* End of test, get back to the normal type

* Test

* Cancelling all changes in Vote.vue

* Trying to access to the grimoire with an import

* Testing again to import grimoire

* Testing to print organGrinder

* Gone back to the first changes

Now, we just have to know where is the grimoire, for the import

* Test for access to the grimoire

* New test to find the grimoire

* Trying to import 'state' instead of 'grimoire'

* maybe the import is useless

* Trying what happens if organGrinder=true

* Trying access to index.js/state without conflict

* Update session.js

* Update session.js

* Update session.js

* Correcting typo

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Final version of this file

* Updating a sentence in singular

* Correcting Organ Grinder's ability

The Organ Grinder's ability is not active for exiles.

* Hiding the number of votes if Organ Grinder

* Trying new bool, maybe better that "isStoryTeller"

* Update Vote.vue

* Update Vote.vue

* Just for a test

* Update Vote.vue

* It's just for a test

* Cancelling all changes, I'll see it later

* Updating to take account isOrganGrinderVoteMode

* Allowing Story Teller to see history

(even if there is an Organ Grinder)

* Correcting ?:

An "else" condition is necessary.

* Trying to correct the error with new parenthesis

* Hidding the number of hands up during vote

Only for players, and only if there is an Organ Grinder

* Test for hide vote

* Update Player.vue

* Cancelling changes

* Test for icons

* New test to confirm the "v-if" is detected

* New test

* Trying to add the "?"

* Testing adding some new elements to print the "?"

* Finishing the print of "?"

The print wasn't printed for other players before the vote lock.

* Corecting a careless mistake

* Finalising the hidden votes

- Correcting the conditions (the previous ones was for tests
- Changing the colour of "?"

* Adding a new colour

* Removing the previous (and without effect) change

* Adding a new colour
2023-05-09 17:32:02 +00:00
Pingumask
9b591af752 Menu adjustments 2023-02-27 21:49:15 +00:00
Pingumask
c1693ec361 Small UI adjustments 2023-02-27 19:00:11 +00:00
pingumask
b44bab4cf7 streamer mode 2022-12-26 13:09:47 +01:00
pingumask
738d2c42ff add "Ring bell" for Strory teller 2022-10-27 22:37:06 +02:00
Pingumask
fdb208c03a Localization + French translation 2022-10-27 22:36:19 +02:00
Steffen
300395de08
v2.13.0 (#168)
* add support for custom fabled (closes #110)

* 2.13.0

* show custom fabled first

* add recordVoteHistory & clearVoteHistory to session menu

* Update CHANGELOG.md

* socket part of toggle recordVoteHistory

analogous to isNight

* remove accidental

* Add files via upload

* add custom fabled

* Add option to reduce night animations to save power.

* add fallback icon for fabled

* changelog

* disable all animations now

* linter

* add 'on the block' indicator

- after vote, ST chooses to put onto block / empty block / no change to block
- player menu has add / remove from block
- players are automatically removed from the block when (i) they die (ii) another player is put onto block
- fixed crash on add/remove/etc player mid vote

* hide rounded corners on maximized modals

(barely visible anyway)

* ST always sees vote history

i.e. toggle affects only players

* empty block at night

* avoid clashing with seat icon

* nlc: toggle within session.js

* lint

* minor

* Use proper "Exile" terminology for exile

* Add info about "Banishment"->"Exile" to CHANGELOG

* requested changes

* remove direct ST control of block

* player menu order

* move block/night logic from socket to menu

* minor fix to previous

* on block -> marked

* requested changes

* requested change

Co-authored-by: Steffen <steffen@baumgart.biz>

* fix players being moved or removed during a nomination (closes #164)
add vue linter

* let's try adding a lint error

* linter adjusted

* it's working!

* requested change

record marked player id in session

* feedback implemented
npm audit

* prepare develop branch

* adjust linter config

* revert version bump

* fixes & visuals

* Update CHANGELOG.md

* restore old lint command (fixes #170)

* minor fix default

* show jinxed interactions on character reference modal

* 2.13.0

* changelog

Co-authored-by: nicfreeman1209 <nicfreeman1209@gmail.com>
Co-authored-by: nicfreeman1209 <14160941+nicfreeman1209@users.noreply.github.com>
Co-authored-by: Adrian Irving-Beer <wisq@wisq.net>
Co-authored-by: Andrew Conant <emptierset@gmail.com>
2021-05-15 20:07:54 +02:00
Michael Langford
3cfc9939f9
Merge branch 'main' into feature-visible-nom-log-indicator-button 2021-03-18 15:49:04 -04:00
Michael Langford
13f0d82c34 Hides nomination log button when sessionId==0
This commmit implements 2 stylistic suggestions
as well: a CSS class name change and removes seemingly
redundant spacing specification. Testing on chrome and safari
reveals neither caues a functional change.
2021-03-17 11:16:38 -04:00
Michael Langford
9a232c835a
camel to kebab for nomlogSummary
Adopts preferred CSS class format
2021-03-17 10:50:53 -04:00
Michael Langford
40b60363c5 Adds indicator of a player visible voting log
A new player can be suprised that this tool keeps a history of
nominations. This indicator shows a book with a skull on it
when there is a nomination log present in the session object
along with the count of nominations stored locally in the
session object.

This allows a new user to see that there is a voting log.

This allows groups that wish to only see a limited voting
log to remind the storyteller to clear the log if they see
that there is one.

If accepted, this would address #124 and the secondary
considerations metioned in #121.

This commit squashes away the previous textual version
2021-03-11 15:04:41 -05:00
Steffen
2af643435e
Merge pull request #111 from nicfreeman1209/main
maximize button for modals
2021-03-09 15:26:17 +01:00
Steffen
819534dab6 moved image opt-in to grimoire tab 2021-02-11 13:48:06 +01:00
Dave
6026a6e8e8 changed code to grab session id from pasted domain in join dialog to be a pop, to avoid errors if the hash string is not present 2021-02-05 22:12:59 +01:00
Dave
aee12a23be simplified the regex on joining a session to only look for anything starting with http(s):// and parseing out the code. 2021-02-05 22:12:59 +01:00
Dave
f60069caa9 adding a regex in to the join session method in Menu.vue, to check if a townsquare domain has been entered in to join dialog, if it finds one it will get the session id from the # query string instead of just taking the value directly from the dialog. 2021-02-05 22:12:59 +01:00
nicfreeman1209
3020b2248c z-index: modals in front of menu
+fix padding
2021-02-03 23:50:19 +00:00
Steffen
d409186ff1 re-enabled custom role support 2021-02-03 22:12:38 +01:00
Steffen
ec64584da5 added custom image opt in 2021-02-01 22:33:59 +01:00
Dave
2515dcc328 changing menu item for toggle night mode to list the new hotkey for user reference 2021-01-25 20:30:17 +00:00
Steffen
84f73ceb01 fix copy to clipboard not working in firefox 2021-01-07 20:50:59 +01:00
lilserf
d52d704e97
Apply suggestions from code review
Co-authored-by: Steffen <steffen@baumgart.biz>
2021-01-04 15:33:51 -05:00
lilserf
0b78848d03
Add V hotkey for vote history 2021-01-04 10:51:52 -05:00
Steffen
9b94c2f51d add global audio mute entry to grimoire menu 2020-12-27 20:49:29 +01:00
Steffen
cd6cf1ed4a pressing J when in a live session now leaves the session (closes #76) 2020-12-27 20:13:44 +01:00
Steffen
2741950837 remove screenshot feature as it is no longer needed 2020-12-27 20:11:57 +01:00
Steffen
3545b3a69d fix sessionId handling for URLs 2020-12-25 20:30:31 +01:00
Steffen
284f9054ba 2 session related fixes 2020-12-24 20:09:56 +01:00
Steffen
e300a34f8c menu wording
changelog
2020-12-22 11:38:46 +01:00
Steffen
125d5a9510 clearing vote history as ST clears it for everyone
fixed role distribution bug
2020-12-22 11:32:00 +01:00
Steffen
3c0704db59 added deus ex fiasco and fixed stormcatcher icon 2020-12-18 20:40:30 +01:00
Steffen
f7eef3f8ea add player role distribution through live session for ST 2020-12-15 22:31:50 +01:00
Steffen
53d608288d only empty seats can be claimed by players and ST can clear seats now 2020-12-15 15:59:43 +01:00
Steffen
7c0f31584c simplify session URLs 2020-12-14 21:49:40 +01:00
Steffen
c31d264c7f finished gamestate export & import (closes #58) 2020-12-13 21:50:44 +01:00
Steffen
e0958ac129 first draft of gamestate modal
improved general modal performance
2020-12-12 22:03:36 +01:00
Steffen
15ced66b42 add vote history 2020-12-06 22:27:52 +01:00
Steffen
a37add61d9 added night phase switch 2020-12-02 20:39:12 +01:00
Steffen
02d7002e34 moved fabled to player store
cleaned up some things around fabled night reminders
added fabled to night sheet
2020-11-29 22:17:02 +01:00
Suzi
a418fc46b9
Update expired discord links
I assumed these used to point to the "Blood on the Clocktower (Unofficial)" server, since I see you're active in there. Please do correct if that's not the case!
These new invite links are set to never expire.
2020-10-31 14:50:55 -04:00
Steffen
0b5d9c5865 moved latency calculation server-side
made host per channel exclusive
added auto-reconnection
2020-09-21 11:24:36 +02:00
Steffen
eab7c659e3
bugfixes 2020-09-19 16:19:05 +02:00
Steffen
919abaa0eb fix tooltip 2020-09-17 10:47:13 +02:00
Steffen
8149feb7e3 better text 2020-09-16 11:52:26 +02:00
Steffen
1409bea1f3 fixed voting race condition
added session ping
cleaned up vote text
2020-09-16 11:39:36 +02:00
Steffen
f7c8e022a3
fabled UI finished 2020-08-09 21:28:38 +02:00
Steffen
036f61fed0
separated night order reference sheet into its own modal and hotkey (fixes #36) 2020-07-01 10:44:12 +02:00
Steffen
85909778ee
dont filter uppercase letters in session channel names (fixes #39) 2020-06-30 09:58:27 +02:00