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

Fixes #1386: set up Theme src/frontend/src/theme.js in Next #1482

Closed
wants to merge 197 commits into from

Conversation

tonyvugithub
Copy link
Contributor

Issue This PR Addresses

Fixed #1386

Type of Change

  • Bugfix: Change which fixes an issue
  • New Feature: Change which adds functionality
  • Documentation Update: Change which improves documentation
  • UI: Change which improves UI
  • Porting: Gatsby to Next

Description

I simply added the theme.ts file with consideration for darkmode to be implemented in the future. At the moment, the file looks similar to the theme.js in Gatsby because initially we wanted to follow MUI default theme structure (more detail can be found in #1390). However, there was some concern from @humphd before about the meaning of some theme attributes that might not be as clean as we want and in PR #1414 , @abhaseen actually made a custom theme files. At the moment, the PR has not been merged so I was following the previous design. If later on, we set on a structure then we can adjust it.

Checklist

  • Quality: This PR builds and passes our npm test and works locally
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not (if applicable)
  • Documentation: This PR includes updated/added documentation to user exposed functionality or configuration variables are added/changed or an explanation of why it does not(if applicable)

neilong31 and others added 30 commits October 19, 2020 21:40
…a-CDOT#1242)

* Banner done

* Side Effects Solved

* Fixing DynamicImage export
* Changed HMSET to HSET in storage.js

* updated ioredis-mock to 5.1.0 in package.json

* removed comment about HMSET to HSET
Fixes Seneca-CDOT#1272: Redis link causing confusion in environment setup (Docs)
Part of Seneca-CDOT#1145: Added setup for frontend testing and Added test for Spinner component
* Add kibana to Telescope

* updated env.example

* added ES_HOSTS environment

* proper docker-compose environment

* fix

* fix

* removed env
…query results (Seneca-CDOT#1253)

* removed unused properties

* added test codes

* removed unused test cases

* modified some values meaningfully

* moved search test to feed.test
* Allow searching for exact phrases

* removed console.log msg

* removed console.log msg
replace `logger` dependency to `Console.log()/error()`
…rse img tags with data uris (Seneca-CDOT#1282)

* fixes issue-1266, adds a test to ensure data URIs are sanitized properly
  * added two more http and https schema tests for img tag with a data uri src
  * added blockquote test and cite sanitation

* removed irrelevant test, removed allowed attribute, and added a protocolless test.

* added helpful comment regarding mixed content to img tag over http test
tonyvugithub and others added 28 commits November 24, 2020 09:55
…a-CDOT#1453)

* Changed function name to LoadAutoScroll

* Changed onScroll to onClick

* Changed onClick back to onScroll
Error: Unable to parse elastic URL "http://elasticsearch:9200" and/or PORT "9200" Seneca-CDOT#1442
Fix issue 1464:  Scroll To Top button on the search page does not work on mobile version
Fix Issue1432: Mouse hover on search textField makes border disappeared
Fix: specify gatsby in the path to the front-end's public folder
* Updated

* removed cache

* made changes for search button locations

* removed public
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.