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

Dynamic server branding support #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Ashod
Copy link

@Ashod Ashod commented Aug 9, 2020

The Online server product name is now
dynamically pulled from the server, once a
valid URL is provided. After the initial
discovery of the server capabilities, the
product-name is cached.

However we allow for changing the server
(or, upon updating the server the product
name may have been changed) by clearing
the cache from the plugin settings page.
Simply loading the settings page will
invalidate the cache, if a URL is already
set and is valid, and will pull the new
name.

The relevant strings displayed in the UI
have been updated to use the product name
provided by the server with proper fallback.

@Ashod Ashod force-pushed the master branch 3 times, most recently from d3c1384 to 198001a Compare August 10, 2020 02:08
@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2020

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 13.18%. Comparing base (fc22536) to head (7afd352).
Report is 59 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #20      +/-   ##
============================================
- Coverage     14.02%   13.18%   -0.84%     
- Complexity      137      152      +15     
============================================
  Files            17       17              
  Lines           699      743      +44     
============================================
  Hits             98       98              
- Misses          601      645      +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ashod Ashod force-pushed the master branch 3 times, most recently from 6285a5d to eb4970f Compare September 13, 2020 20:41
The Online server product name is now
dynamically pulled from the server, once a
valid URL is provided. To avoids using
a hard-coded name. After the initial
discovery of the server capabilities, the
product-name is cached.

However we allow for changing the server
(or, upon updating the server the product
name may have been changed) by clearing
the cache from the plugin settings page.
Simply loading the settings page will
invalidate the cache, if a URL is already
set and is valid, and will pull the new
name.

The relevant strings displayed in the UI,
including errors, have been updated to use
the product name provided by the server
with proper fallback.
@mwuttke
Copy link

mwuttke commented Oct 1, 2020

@grabs please could you review this patch?
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants