Merge pull request #5123 from RosettaCommons/roccomoretti/interactive_tab_panel_aa_duplicates
[Foldit] Fixes for the tab key residue info window.
Formula350 mentioned two issues with the Tab launched residue info window in Discord. 1) If you tab onto a different residue when the window is open, it resizes oddly and 2) in some instances, the list of possible residues gets doubles. This PR addresses both issues.
For 1) it has to do with the layout of the window, and that we were resizing based on the old content and then displaying the new content. This is "fixed" by clearing out the old content before doing the resize.
For 2) this is related to a bug in underlying Rosetta which is fixed by PR #5122. This PR cherry-picks those changes. (Assuming the tests on that PR come back clean, the changes here should be fine.)
Merge pull request #5100 from RosettaCommons/joshmiller/text-selection
[Foldit] Fix QoL text selection bugs
Release Notes:
- Fixed a bug preventing puzzle names from being clickable
- Fixed a bug where pressing undo (Ctrl+Z) on a recipe would delete all text
- Re-added the ability to cut/copy everything using cut/copy shortcuts when no text is selected
- Fixed a bug where news posts and puzzle descriptions were not selectable
- Fixed a bug where typing forward delete (Fn+Delete) on Mac inserted an erroneous '('
- Fixed a bug which caused little square boxes ("LSBs") to appear in recipes when pasting in text with Windows or Mac line endings
- Fixed a bug which caused text copied from Foldit to have improper line endings for Windows and Mac
- Fixed a bug causing some text to remain when deleting or cutting a text selection
Merge pull request #5098 from RosettaCommons/joshmiller/camera_zoom
[Foldit] Add Page Up/Down camera zoom hotkeys
Release Notes:
- Page Up and Page Down keys can now be used to zoom the camera in and out
Merge pull request #5088 from RosettaCommons/joshmiller/qol-chaser
[Foldit] QoL Bugfixes
Release Notes
- Group chat is now profanity filtered by default
- Added an option to disable the group chat profanity filter
- Users ignored through Foldit's IRC are now also ignored on Foldit's Discord integration
- Fixed a bug causing the hiding importance slider to control packing importance instead of the packing importance slider
- Fixed multiple bugs where various options were not being saved
- Fixed a bug preventing HBond importance sliders from being clickable to reset
- Fixed a bug where the input boxes in the Behavior menu overlapped with the sliders above them
- Fixed a bug where pressing "Center Protein" on the Electron Density panel while a tool is running would cause a crash
- Fixed a bug in the Notifications tab that allowed players to View Puzzles while running a recipe, causing a crash
- Fixed a bug causing in-game notifications to display improperly
- Fixed a bug preventing chat moderators from posting links
Merge pull request #5099 from RosettaCommons/joshmiller/macro-fixes
[Foldit] Minor recipe fixes and deprecation warning
Release Notes:
- Fixed a bug which caused little square boxes ("LSBs") to appear in recipes when pasting in tab characters
- Fixed the description of Lua function IsRecipeBand which returns whether a band was modified by a recipe
Merge pull request #4569 from RosettaCommons/interactive/qol-updates
Big Quality of Life Patch! Release notes:
UI / Gameplay
-- Updated the Mutate icon
-- Backbone pins are now colored purple when locked
-- Achievements now describe the achievement earned
-- Rubber bands are now colored differently based on optimal bonding distances
-- Rubber bands are now colored darker if a recipe made them
-- Dark mode is now on by default
-- Arrows on the Clashing Importance, Band Strength/Length, and other sliders now make more fine-grain adjustments
-- Increased the maximum Undo Graph length to 1000
-- Renamed "Memory Usage" to "RAM Usage" on the Undo Graph
-- Text entry can now be selected and cut/copied like in modern text editors
-- Text entry now supports undo/redo (Ctrl+Z to undo, Ctrl+Y or Ctrl+Shift+Z to redo)
-- Chat and recipe output can now be selected and copied (per message)
Options
-- Overhauled the General Options menu
-- Added the option to adjust music and sound volume
-- Added the option to adjust the font size of chat, recipe output, and tooltips
-- Added the option to change the default rubber band length to either 2.0 or 3.5 (this toggle can also be bound to a hotkey)
-- Added the option to change the default rubber band settings to the last manually set strength/length
-- The Rama Map can now be bound to a hotkey
-- Recipes can now be bound to hotkeys
-- Removed the Advanced GUI option; this option is now on by default after the tutorial
-- Removed deprecated chat options
Camera
-- Reversed the default camera zoom direction to be more intuitive
-- Switched RMB and MMB camera controls to be more intuitive
-- Added options to toggle these changes in the Controls menu
Chat
-- Extended the size of the chat window
-- Added a help button to show available IRC commands
-- Added a button to copy the entire chat history to your clipboard
-- Added the IRC command to report a player for chat abuse by typing /report username
-- The player list now shows which players have been chatting since you logged in
-- Server messages now appear in red
-- Messages sent from Discord now show an icon indicating their origin
-- Emojis sent from Discord now appear as “[emoji]” instead of “????”
-- Players can now create a link to Foldit's Discord by sending "!discord"
-- Players can now create a link to Foldit's group list by sending "!group"
-- Players can now create a link to Foldit's recipe list by sending "!recipes"
-- Moderators can now kick and ban players from the in-game chat
-- Moderators now appear in chat with a crown icon
-- Moderators and staff can now send external links in chat
-- Staff now appear in chat with green names and a beaker icon
-- Staff can now add/remove moderators temporarily from the in-game chat
-Bugfixes and Improvements
-- Fixed a bug where German and French keyboards were unable to type '@' into text boxes
-- Fixed bugs preventing long and multi-line chat messages from sending correctly
-- Fixed typos in options.txt and theme.txt
-- Improved option saving
Cookbook and Recipes
-- Added a Cookbook Starter Pack to empty cookbooks
-- Added Lua function 'behavior.UseCutBands(boolean enable)' to enable or disable cut bands.
-- Added Lua function 'structure.IdealSSSelected' to use Ideal SS on selected segments
-- Added Lua functions to get the residues and atoms at each side of a band (referred to as the "base" side and "end" side)
---- 'band.GetResidueBase(int bandIndex)' returns the residue index at the base
---- 'band.GetResidueEnd(int bandIndex)' returns the residue index at the end
---- 'band.GetAtomBase(int bandIndex)' returns the atom index at the base (experimental feature)
---- 'band.GetAtomEnd(int bandIndex)' returns the atom index at the end (experimental feature)
-- Added Lua function 'band.IsRecipeBand' which returns whether a band was made by a recipe
-- These Lua functions now take an optional boolean recipesOnly which will apply the function only to recipe-made bands if true:
---- band.DeleteAll
---- band.DisableAll
---- band.EnableAll
---- band.GetCount
Campaign
-- Removed Alignment and DNA puzzles
-- Revised ending level structure
Merge pull request #5040 from RosettaCommons/joshmiller/reset-button
Fix selection interface Undo panel; Release notes:
- Fixed a bug where the reset puzzle button was relocated.
- Removed help/glossary buttons from the selection interface Undo panel.