illinois / queue

A microservice queue for holding open office hours
University of Illinois/NCSA Open Source License
82 stars 36 forks source link

Brand customization #297

Closed winstan closed 4 years ago

winstan commented 4 years ago

This provides a mechanism to configure Queue for a different institution via the environment variables INSTITUTION_LABEL and NETID_LABEL.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/illinois/queue/jjolyxgwxu ✅ Preview: In Progress

nwalters512 commented 4 years ago

This was implemented in more depth in https://github.com/illinois/queue/pull/288 - would you like to assist with reviewing that PR? cc @james9909 - can you give more context on https://github.com/illinois/queue/pull/283? It looks like that was merged, but I can't find any commits for it on master.

james9909 commented 4 years ago

@nwalters512: the content in #288 is the same as #283. We reverted master and re-opened the PR because when the deploy broke, we still wanted others to develop and merge onto a working master until Wade got a chance to redeploy.

nwalters512 commented 4 years ago

@james9909 gotcha - is there any more work needed before it can be merged again? Would you be able to champion that branch and see it through to being merged?

james9909 commented 4 years ago

@nwalters512 - we're waiting for when @wadefagen's ableto set up a clone of the queue on prod. Since I tested everything out on staging without issues, it should be fine but we want to test it out before merging. Don't worry, I'm still pushing to get it merged :)

winstan commented 4 years ago

@nwalters512: #288 is missing the institution name customization in this PR, as well as the use of environment variables for customization. I'm happy to help... Maybe I could help #288 through and then update this PR to just add institutionName to publicRuntimeConfig in next.config.js? (Cinda is eager to get Queue working at UBC as soon as possible...)

winstan commented 4 years ago

There, in lieu of #288, I've ripped out the NetID changes from this PR. Now this PR just parameterizes institution name, and does it using publicRuntimeConfig like in #288.

winstan commented 4 years ago

Now that #288 is merged, I've rebased this. It's all ready to go...