dddeastmidlandslimited / dddem-web Goto Github PK
View Code? Open in Web Editor NEWNextjs Static Site for DDD East Midlands Website
Home Page: https://www.dddeastmidlands.com/
License: MIT License
Nextjs Static Site for DDD East Midlands Website
Home Page: https://www.dddeastmidlands.com/
License: MIT License
Functional and non-functional criteria that should be met by this work
Ideally this needs refactoring in the following ways
Functional and non-functional criteria that should be met by this work
Functional and non-functional criteria that should be met by this work
Allow the user to install the website on their phone as a shortcut.
We can also prompt them with new content added should they wish to.
This will cache pages to the OS for fast, offline reading and also allow them to access new content or messages. This could be very handy on event days.
We want to add a sitemap to our site for SEO but also to enable us to reference when doing testing on the CI.
It means we can automatically crawl a set of pages in our testing without manual intervention.
Functional and non-functional criteria that should be met by this work
All pages show in sitemap.xml - [ ]
The talks presented on at DDD East Midlands are voted on by attendees. We display only the title and description of submitted talks - and attendees vote on which ones they wish to see
The current process is a filtered list and then a google form to submit your top 8 in.
It would be great to have an amazon style "shopping basket" where you could add and remove talks from your basket until you have your final shortlist you want to submit.
Easier voting process
Nicer UX
The site currently has a score of 86 for Best Practices when Lighthouse is run against it.
The details of improvements that can be made are shown in the lighthouse report
Functional and non-functional criteria that should be met by this work
Add your name and why you like the East Midlands tech scene to the Hacktober page as per the instructions on the Hactober Page
This can be picked up by multiple people
Functional and non-functional criteria that should be met by this work
Functional and non-functional criteria that should be met by this work
A clear and concise description of what the bug is.
100% of the time
Images don't split across columns
Functional and non-functional criteria that should be met by this work
Scaling down images on the about page improve performance
Resize images down then run it through an image optimising service such as tinypng online
The site currently has a score of 77 for SEO when Lighthouse is run against it.
The details of improvements that can be made are shown in the lighthouse report
Functional and non-functional criteria that should be met by this work
Scaling down images on the venue page improve performance
Resize images down then run it through an image optimising service such as tinypng online
The site currently has a number of errors when checked when checking for the Progressive Web App standards in Lighthouse.
The details of improvements that can be made are shown in the lighthouse report
Functional and non-functional criteria that should be met by this work
Header changes based on the month of the year. The following issues have asked for people to create themed headers for the website:
This issue asks that the header is set to these themes during set time periods
Functional and non-functional criteria that should be met by this work
We would like our site to be accessible and useable to as many people as we can achieve. As part of this initiative, we would like the site to be navigable mouse-free.
Increases the audience for DDD East Midlands
Helps people access the information they may need about the event
https://www.dddeastmidlands.com/ is not accessible via Internet Explorer
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behaviour:
What percentage of the time does it reproduce, if you know? 100%
Expected behaviour
It would be nice if it worked
Screenshots
Change the social links which are now text links, to use fontawesome or a similar package that can display logos instead of text
Functional and non-functional criteria that should be met by this work
For some of the buttons on the information pages page ( https://www.dddeastmidlands.com/information/main-page/ ) the hover turns pure white rather than giving the image an opacity of 0.4.
The css styles are done on sections
Add the header and footer images to the SW cache for a more speedy result
Prepares for a better offline experience
Images are loaded from the SW and reloaded if they change
Functional and non-functional criteria that should be met by this work
Since mocking out the imported font awesome css file as a blank object, there are errors everytime we run the unit tests as font awesome can't be detected.
There must be a better way to mock out this dependency or for Jest to allow import '@fortawesome/fontawesome-svg-core/styles.css';
in Footer.js without having formatting errors on run.
To Reproduce
npm run test
from any command line tool or look at the build actions when it runs the tests
Reproduces how often:
What percentage of the time does it reproduce, if you know?
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
Issue
The footer is responsive until the min-width is 567px. After that it becomes unresponsive and the content is hidden.
Expected behaviour
It is expected to be responsive across various screen sizes and devices.
Screenshots
Given below are screenshots of the issue. As you can see the footer contents are messed up.
Solution
@wordshaker I would like to work on this issue and I have a fix for it. Please assign me this task. The solution screenshot is provided below.
We want to be able to see any Javascript errors and page metrics of the site.
To do this we can use the npm library https://www.npmjs.com/package/@ministryofjustice/opg-performance-analytics
The readme contains the setup instructions, I believe it would sit within the _app.js
file alongside the other GA code.
This will send data to Google Analytics that we can monitor over time.
We don't currently have Google Analytics installed either which would need to be done first. The ticket for this is here #189
We would like the DDD East Midlands website ran through accessibility testers and for issues to be raised based on the improvements that are made apparent by these tools
It would be great if we could meet the recommendations on the a11y Web Accessibility Checklist
Options for tools include:
But we don't mind what tools are used (not our area of expertise)
A tool has been used to highlight any accessibility fixes needed on the site
Issues are raised for potential fixes/enhancements are are tagged with the accessibility
label
We currently use https://www.npmjs.com/package/react-ga to implement Google Analytics tracking on our site. However, we require now the gtag implementation to add new functionality.
In analytics.js we need to replace the npm library in here with https://www.npmjs.com/package/react-gtm-module and update the code within the functions to use this new library for tracking page views and events.
The Analytics ID is already in the file and should be used for this too. The readme on how to initialise and replicate the existing functionality is also in the npm docs.
Be able to plug in new features that take advantage of gtag.
Functional and non-functional criteria that should be met by this work
All existing tracking functionality still works - [ ]
react-ga is removed from the package.json file - [ ]
Need a responsive subnav for the website.
https://react-bootstrap.github.io/components/navbar/
If someone could implement the react responsive Nav, I'd happily style it.
Mobile
Desktop
I noticed, while contributing #101, that there's an _site
folder in the repo.
Is that meant to be there, as it seems to be a duplicate of a number of files
in the top-level folder in the repo?
To Reproduce
Steps to reproduce the behaviour:
Reproduces how often:
100%
Expected behaviour
It does not exist
Screenshots
N/A
We want to swap out our images so we can better support those who have poorer devices or bandwidth. We want to ideally do this automatically using a package like https://github.com/cyrilwanner/next-optimized-images so that we can be sure we are optimised as much as possible automatically.
Speed, SEO and accessibility wins
Functional and non-functional criteria that should be met by this work
Vulnerability raised by CodeQL:
Redirecting to a URL that is constructed from parts of the DOM that may be controlled by an attacker can facilitate phishing attacks. In these attacks, unsuspecting users can be redirected to a malicious site that looks very similar to the real site they intend to visit, but which is controlled by the attacker.
There are 5 files that get created in public when building the site to do with the service worker generation.
These need untracked from git and a gitignore rule added to stop the patterns of these files from being committed.
To Reproduce
Steps to reproduce the behaviour:
The site currently has a score of 59 for performance when Lighthouse is run against it.
The details of improvements that can be made are shown in the lighthouse report
Functional and non-functional criteria that should be met by this work
The footer links are slightly off-center when viewed on a monitor/laptop
To Reproduce
Go to https://www.dddeastmidlands.com/ and scroll to the footer while viewing on a monitor/laptop
Reproduces how often:
100%
Expected behaviour
Footer should be centered while still having a gap between icons and links
Want to track visits to each page, and when they are uploaded, click-throughs on sponsors logos.
Is your feature request related to a problem? Please describe.
Nope. Just want those tasty, tasty insights.
Creating this off the back of a Lighthouse audit that was ran for #50.
Certain images don't have alt text which isn't great for accessibility. Proposing an enhancement to add some alt text descriptions to images where sensible.
https://www.dddeastmidlands.com/#
instead of displaying the drop-down of linksTo Reproduce
Reproduces how often:
100%.
If you go to another page then click "About" it works
Expected behaviour
About should display the drop down of information pages.
Add a simple (SW) Service Worker that caches CSS and JS
Allows us to begin to introduce more advanced caching and offline techniques.
CSS and JS is cached on first visit. Thereafter it uses them from the SW cache until a new version is released
On the page https://www.dddeastmidlands.com/information/main-page/ our banner images are too big for the site. Currently the page is 4.3mb in size.
We need to do the following.
To Reproduce
Steps to reproduce the behaviour:
Reproduces how often:
100%
Expected behaviour
Screenshots
None
NextJS needs updating to the most recent version of 9 to remove some security vulnerabilities.
Functional and non-functional criteria that should be met by this work
Raising this issue in relation to Issue #50 .
Axe report show several instances of icons (e.g. Twitter, LinkedIn) being used without any discernible text for screen reader users - see example screenshot below. This is particularly noticeable on the Home Page footer and the Speakers page. Proposed fix is to add relevant aria-labels to these icons where they appear.
I am happy to take this on and raise a PR for it.
Currently, the colour theme for DDD East Midlands is in the theme.js and is configurable. It would be great if this could extend to logo and copy for other DDD events to fork the repository and apply it to their own event with ease.
There are a number of options:
New repository based on this current repository for other DDD events to fork with easy configuration (preferred)
Centralise this kind of configuration on the main site
However it's approached, use for others should be well documented.
Upgrade nextjs
Dependabot tried to do this upgrade but there are breaking changes with webpack. See pull request #202
Functional and non-functional criteria that should be met by this work
Issue
The footer is responsive until the min-width is 567px. After that it becomes unresponsive and the content is hidden.
A clear and concise description of what the bug is.
Reproduces how often:
What percentage of the time does it reproduce, if you know?
Expected behaviour
It is expected to be responsive across various screen sizes and devices.
Screenshots
Given below are screenshots of the issue. As you can see the footer contents are messed up.
Solution
@wordshaker I would like to work on this issue and I have a fix for it. The solution screenshot is provided below.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.