Skip to content
Snippets Groups Projects

Show custom header logo on super sidebar header

All threads resolved!

What does this MR do and why?

In the current navigation, the tanuki logo can be customized by uploading a custom image under Admin > Appearance > Navigation Bar. However, the new super sidebar does not adapt to the custom logo.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Open rails console and enable super_sidebar_nav feature flag using the following commands:
   Feature.enable(:super_sidebar_nav)
  1. In the dropdown menu inside the user's avatar, toggle New Navigation.
  2. Go to /admin/application_settings/appearance and upload a custom logo.
  3. Save the changes by clicking the update appearance settings button.
  4. Go to / and the tanuki logo should now be replaced with the custom logo.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Implements #393533 (closed)

Edited by Shane Maglangit (Personal)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Deepika Guliani removed review request for @deepika.guliani

    removed review request for @deepika.guliani

  • Hi @deepika.guliani :wave:

    We noticed this MR is marked as workflowready for review but no reviewer is assigned. A MR in workflowready for review should always have a reviewer assigned. Did you forget to assign another reviewer or relabel workflowin dev?

    @ShaneMaglangit you are welcome to relabel by commenting @gitlab-bot ready for example.

    This message was generated automatically. You're welcome to improve it.

  • added 1 commit

    • e9f6dff6 - Update spec to use test-id for custom header logo

    Compare with previous version

  • requested review from @deepika.guliani

  • @deepika.guliani, this Community contribution is ready for review.

    • Do you have capacity and domain expertise to review this? We are mindful of your time, so if you are not able to take this on, please re-assign to one or more other reviewers.
    • Add the workflowin dev label if the merge request needs action from the author. This message was generated automatically. You're welcome to improve it.
  • Deepika Guliani requested review from @cngo and removed review request for @deepika.guliani

    requested review from @cngo and removed review request for @deepika.guliani

  • Coung Ngo
  • added 1 commit

    • 97f26f6a - Remove unused logo ID on super sidebar header

    Compare with previous version

  • Coung Ngo resolved all threads

    resolved all threads

  • Coung Ngo approved this merge request

    approved this merge request

  • Coung Ngo resolved all threads

    resolved all threads

  • Coung Ngo enabled an automatic merge when the pipeline for 98602ff2 succeeds

    enabled an automatic merge when the pipeline for 98602ff2 succeeds

  • Coung Ngo canceled the automatic merge

    canceled the automatic merge

  • Coung Ngo enabled an automatic merge when the pipeline for 98602ff2 succeeds

    enabled an automatic merge when the pipeline for 98602ff2 succeeds

  • A deleted user added backend label

    added backend label

  • Contributor
    2 Warnings
    :warning: 948fd3ab: The commit subject must not end with a period. For more information, take a look at our Commit message guidelines.
    :warning: This merge request changed files with disabled eslint rules. Please consider fixing them.

    Disabled eslint rules

    The following files have disabled eslint rules. Please consider fixing them:

    • app/assets/javascripts/super_sidebar/components/user_bar.vue

    Run the following command for more details

    node_modules/.bin/eslint --report-unused-disable-directives --no-inline-config \
      'app/assets/javascripts/super_sidebar/components/user_bar.vue'

    Reviewer roulette

    Changes that require review have been detected!

    Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:

    Category Reviewer Maintainer
    backend Madelein van Niekerk current availability (@maddievn) (UTC+2) Allen Cook current availability (@acook.gitlab) (UTC-4)
    frontend Chad Woolley current availability (@cwoolley-gitlab) (UTC-7) Coung Ngo current availability (@cngo) (UTC+0)

    To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.

    Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.

    If needed, you can retry the :repeat: danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

  • Contributor

    Bundle size analysis [beta]

    This compares changes in bundle size for entry points between the commits 12f325d2 and 97f26f6a

    :sparkles: Special assets

    Entrypoint / Name Size before Size after Diff Diff in percent
    average 3.54 MB 3.54 MB - 0.0 %
    mainChunk 2.04 MB 2.04 MB - 0.0 %

    Note: We do not have exact data for 12f325d2. So we have used data from: deed59e8.
    The intended commit has no webpack pipeline, so we chose the last commit with one before it.

    Please look at the full report for more details


    Read more about how this report works.

    Generated by :no_entry_sign: Danger

  • Contributor

    Allure report

    allure-report-publisher generated test report!

    e2e-review-qa: :x: test report for 97f26f6a

    expand test summary
    +-----------------------------------------------------------------------+
    |                            suites summary                             |
    +------------------+--------+--------+---------+-------+-------+--------+
    |                  | passed | failed | skipped | flaky | total | result |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Govern           | 27     | 0      | 5       | 5     | 32    | ❗     |
    | Verify           | 12     | 0      | 0       | 1     | 12    | ❗     |
    | Plan             | 48     | 1      | 1       | 0     | 50    | ❌     |
    | Create           | 28     | 0      | 1       | 0     | 29    | ✅     |
    | Package          | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Manage           | 34     | 0      | 3       | 1     | 37    | ❗     |
    | Monitor          | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Framework sanity | 9      | 0      | 1       | 0     | 10    | ✅     |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Total            | 162    | 1      | 12      | 7     | 175   | ❌     |
    +------------------+--------+--------+---------+-------+-------+--------+
  • merged

  • Coung Ngo mentioned in commit b73b6650

    mentioned in commit b73b6650

  • @ShaneMaglangit, how was your code review experience with this merge request? Please tell us how we can continue to iterate and improve:

    1. React with a :thumbsup: or a :thumbsdown: on this comment to describe your experience.
    2. Create a new comment starting with @gitlab-bot feedback below, and leave any additional feedback you have for us in the comment.

    Interested in learning more tips and tricks to solve your next challenge faster? Subscribe to the GitLab Community Newsletter for contributor-focused content and opportunities to level up.

    Thanks for your help! :heart:

    This message was generated automatically. You're welcome to improve it.

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading