Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hub | Add colors, sources sync #4546

Merged
merged 129 commits into from
Mar 27, 2023
Merged

Hub | Add colors, sources sync #4546

merged 129 commits into from
Mar 27, 2023

Conversation

montezdesousa
Copy link
Contributor

@montezdesousa montezdesousa commented Mar 21, 2023

Description

  • Adds colors sync (should we spin off colors to a menu to match the hub?)

Screenshot 2023-03-21 at 17 00 07

Screenshot 2023-03-21 at 17 11 11

  • Displays keys source

Screenshot 2023-03-24 at 17 17 02

Screenshot 2023-03-24 at 17 17 45

  • Adds sources sync and displays source

Screenshot 2023-03-24 at 17 18 40

Screenshot 2023-03-24 at 17 18 01

@montezdesousa montezdesousa added the account Authentication features label Mar 21, 2023
@reviewpad reviewpad bot added the feat L Large T-Shirt size Feature label Mar 21, 2023
@reviewpad reviewpad bot added feat M Medium T-Shirt size feature and removed feat L Large T-Shirt size Feature labels Mar 21, 2023
@montezdesousa montezdesousa enabled auto-merge March 27, 2023 16:17
@montezdesousa montezdesousa added this pull request to the merge queue Mar 27, 2023
Merged via the queue into develop with commit b6b42af Mar 27, 2023
@montezdesousa montezdesousa deleted the feature/colors branch March 27, 2023 17:10
jmaslek pushed a commit that referenced this pull request Apr 13, 2023
* fix show version

* update login prompt and account

* update set preference

* fix account controller

* block login/logout if not called from account

* change conditions to start terminal

* fix required args account model

* add not to login command

* pylint

* accounte controller messages

* set default user when logout

* logout then show menu

* remove unused functions

* fix logging bug

* ruff

* fix account unittests

* fix session unittests

* refactor colors preference

* no theme, no party

* add colors sync

* dynamic theme

* add comment

* add colors to settings

* ruff

* linting

* update menu desc

* adjust keys sync flag

* write to dotenv sync flag

* english

* fix pull command

* fix edge cases

* handle some errors

* small bug

* change func name

* pylint

* no light

* colors preview

* ruff

* fix login logout preferences

* ruff

* delete folder

* pylint

* default, custom, hub

* fix clear

* docstring

* add preference exceptions

* set only rich style

* request theme only if hub

* linting

* change guest msg

* add option to update chart style on the fly

* apply style

* rollback to old terminal style

* fix console theme

* remove print

* remove hub rich style

* ruff

* mypy

* black

* Hub | Add sources sync (#4565)

* Add sources model

* adapt session model

* fetch sources dict

* rename local funcs

* set sources inside current user

* set sources inside current user

* generate sources dict from hub

* fix dict generator

* send request to hub

* fix conflict

* revert datasources to develop head

* fix docstring

* avoid invalid patch types

* add default option to sources

* fix small bug on sources

* ruff

* black

* remove (

* mypy failing only on git

* ignore mypy

* pylint

* fix settings controller

* Tests: fix keys model writing to .env

* fix keys controller test writing to .env

* ruff

* Test: fix account controller

* Test: fix account controller pull

* Tests: fix launch terminal

* Test: add sources to user object

* Tests: fix clear cmd tests

* ruff

* revert core/sdk changes

* TerminalStyle docstring

* upload config docstring

* remove comment

* remove unecessary pylint disable

* revert openbb_terminal/sdk changes

* Terminal style docstring

* docstring

* remove unecessary changes

* add TODO

* add other todo

* Tests: prevent sync from being written in .env

* change clear msg

* display sources source on menu

* update settings controller

* display keys source

* black

* sync not needed for pull

* remove sync from apply configs

* change func name for consistency

* Update test_keys_model.py

* save rich style in user folder

* search recursively inside styles

* set hub theme by default

* remove debug print

* allow any plot style

* comment plotstyle sync for now

* fix sources set terminal to hub

* ruff

* rewrite cassettes

* remove repeated settings

* rewrite expected
tehcoderer added a commit to tehcoderer/OpenBBTerminal that referenced this pull request May 17, 2023
tehcoderer added a commit that referenced this pull request May 17, 2023
* revert and fix bug introduced in #4546

* improve theme change in chart, add `theme.apply_style()` to settings_controller/hub config change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
account Authentication features feat L Large T-Shirt size Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants