my-wacai's People
my-wacai's Issues
Improvement plan of calculator
Trim the decimal digits in calculator
74.3 - 50 = 24.2999999999
that is an issue.
Squeezed in template list panel
CSS adjustment in template list panel.
Add back to top button in search result page
Add a button group
- Back to top button
- Collapse expanded items
Search drop down list is still displayed when already lost focus.
Add 'today-total' info
Add '今日总计' (similar as '本月总计').
Add hash tag
Add hash tag section for each item to track / search more conveniently
Optimize logger system
Bind logger
object on request object.
Multi users support
- login / logout
- token management
-
multiple DB files - add user table and user name column for each table
- get user name in each request - cookie token?
- use parameters instead of string concatenation when dealing with sql statements
- restructure db operation files
Create own axios
Axios should contain:
- loading status control
- timeout control
- TBD
Advance search datetime display issue
Issue 1 - Wrong date format
Reproduce steps:
- choose 2019 -> Nov -> 10
- display 2019-10-10
Issue 2 - Datepicker beyond the screen
End date -> date picker -> part hidden from the screen
Issue 3 - Remove time picker in datepicker widget
Calculator
Show calculator when inputing numbers
Auto choose category
Automatically show category according to current date time
Add place / plaza details for each fin detail
Review - Rating system
Add rating for fin items for future reference.
- Star rating on restaurant
Auto generate related info
When choosing one item in comment section, generate following details:
- platform
- category (optional)
- sub category (optional)
Ideally all those info should be returned based on getComments api, and popup dialog if multiple items are matched.
Session timeout
Need to go back to login when cookie expired
Use graphql to support multiple data format requirement
-
Really need graphql?
-
Where to use graphql?
-
How?
Uncontrolled schedule mode selection
Schedule mode is always reset when changing category or amount.
Change cookie SameSite to Strict
Focus on input box will zoom in the whole page under mobile web
Disable Auto Zoom in Input “Text” tag - Safari on iPhone
Reason
The browser will zoom if the font-size is less than 16px and the default font-size for form elements is 11px (at least in Chrome and Safari).
Solutions
CSS
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select:focus,
textarea {
font-size: 16px;
}
HTML Meta Configuration
Prevent Safari from automatically zooming in on text fields during user input without disabling the user’s ability to pinch zoom. Just add maximum-scale=1 but leave out the user-scale attribute.
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Try rewrite with TS
Use typescript to test.
Details in search result
Add details in search result
- Total amount in each category
- Total amount in each subcategory
- Pie chart / bar chart for optional
Items separated by year / month
- Just like fin item total list
Datetime widget issue
When changing from 'am' to 'pm', it does not work.
Add continue to record button
Add peers record
Track peers for each item.
Safari mobile cannot correctly handle date string as a date object
Resources:
https://stackoverflow.com/questions/4310953/invalid-date-in-safari
https://www.jianshu.com/p/956851fa0a4b
// mobile safari
let date = new Date('2019-01-01');
console.log(date); // invalid date
Safari cannot see 'YYYY-MM-DD' as a standard date string.
should be changed to:
// mobile safari
let date = new Date('2019-01-01'.replace(/-/g, '/'));
console.log(date); // invalid date
Create demo user case
Create a sample user for demo usage.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.