ntrappe / cse112-s22-group2 Goto Github PK
View Code? Open in Web Editor NEWSite: https://jot-journal.netlify.app/
Site: https://jot-journal.netlify.app/
Goal: Bring over relevant code/docs from Eucalyptus (past 110 project)
(Custom component in JS)
Daily Log Preview Component
Expectations:
Focus is entirely on the content of the daily log preview not functionality. You do not care what happens when a user clicks it, just what is seen.
Features:
Daily Log Full Component
Expectations:
Focus is on the different sections and each section has its functionality. Specifically, notes and journal should allow the user to type text and display it.
Features:
<section>
for tracker with heading "Trackers"<section>
for bullet points with heading "Notes"
<ul>
and <li>
inside<section>
for long text with heading "Journal"
input
for journal textUpdate: 05-16-22
custom event
for 'save' for control to listen tocustom event
for 'cancel' for control to listen to(HTML Page + JS)
daily-log-inbox.html
Expectations:
Daily log inbox displays the daily log previews (if available) + offers CRUD interactions. The CRUD interactions do not have to tie into back-end right now but some should trigger warnings/messages.
Features:
Updated on 05-20-22 to reflect <daily-log>
Using local storage.
Given a custom component, save, change, and delete it.
Store each daily log as a JS object with the following fields:
date
: string
notes
: list
of strings
journal
: string
To be called by control
Function 1: addLog(date, notes, journal)
Description: Creates a JS object (given above) and stores it in local storage
Inputs:
date
: string
in the format of "{day of week}, {month} {date}, {year}" like Friday, May 20, 2022notes
: list of strings
like [ "hi", "bye", "cry" ]journal
: string
like "it was a dark and stormy night"Return:
EXIT_SUCCESS
if successfully added to local storageEXIT_FAILURE
if either failed to add or invalid input paramNotes: you could just use the date
as the key if that format is fine
Function 2: updateLog(date)
Description: "Updates" aka overwrites value stored at this key
Inputs:
date
: string
in the format of "{day of week}, {month} {date}, {year}"Return:
EXIT_SUCCESS
if successfully added to local storageEXIT_FAILURE
if either failed to add or invalid input paramFunction 3: fetchLog(date)
Description: Returns data of log at key
Inputs:
date
: string
in the format of "{day of week}, {month} {date}, {year}"Return: up to you
Function 4: fetchAll()
Description: Returns data of log at key
Inputs: none
Return: up to you
Function 5: deleteAll()
Description: Removes all daily log data
Inputs: none
Return:
EXIT_SUCCESS
if successfully added to local storageEXIT_FAILURE
if either failed to add or invalid input paramInternal Function: search()
To make the style a bit more fun + customizable for high school students, we'll introduce the following changes:
Here are the mock-ups for just the component. You can also check out the designs on Figma.
Current work is being done off of the versed
branch and is just focused on the blue color palette for now. Designs have yet to be finalized.
We want to add haptics so a user can detect that they've successfully pressed a button, held down a line long enough (to open a modal), etc.
Add explanations for the different files + what the modifications mean:
https://github.com/ntrappe/cse112-s22-group2/wiki/Workflow-Guides
First round of ADRs for the design:
Hi-Fi Prototype Demo: https://www.figma.com/proto/J87cj9HiQVI8xtOvtBREtT/CSE-112-Prototypes?node-id=0%3A1
Custom Component:
This component should have:
trackers.html
Styling Examples:
(You can look at the Figma for more)
Custom Component: (or whatever name you want)
(very similar to the error/delete modals for inbox.html)
This modal should:
<li>
that represents a selected bullet point<li>:before
)Example of styling:
(You can look at the Figma for more)
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.