Hi there ππ»
shubham0812 / habittracker_ui Goto Github PK
View Code? Open in Web Editor NEWHabits and Goal Tracker application using the SwiftUI Framework
License: Apache License 2.0
Habits and Goal Tracker application using the SwiftUI Framework
License: Apache License 2.0
Create a Progress Stepper View, that progress as the user goes through the input Views.
You need to create a UI that starts from the initial state, and you have to increase the step based on user Input.
The onboarding flow exists on Figma, the UI will need to be created for this at a later stage. However, before the UI can be created the contributor should create three new views.
The contributor will not need to style the views. But, rather set up the views so that content and additional elements can be added.
The UI consists of three views:
The functionality of the onboarding such as notifications and creating a new goal will be added once the UI has been created.
Please use the Figma file to create the onboarding views using SwiftUI.
We need an Image View struct that takes in an image, is scalable based on the frame provided by the Parent View.
Display a circular image with a border around the image.
Create a generic Image View Struct under Code > Support Views.
Add variables that takes in an imageName, lineWidth and borderColor.
The View that you should create should look something similar to this-
Once you're done raise a PR. Good luck :)
Create a Color Palette struct/enum that returns the color based on the type provided. The Type should take the current theme of user device into consideration.
Create a struct/enum name ColorPalette inside utils and define the colors for
Primary -
Light Theme - #6237FF | Dark Theme - #6971D3
Secondary-
Light Theme - #F86C28 | Dark Theme - #FFBA8F
Accent -
Light Theme - #1FB9FC | Dark Theme - #50C7F3
Warning -
Light Theme - #F7456D | Dark Theme - #D79AB8
Background -
Light Theme - #ffffff | Dark Theme - 000000
Make sure that you take the device's theme in consideration, so you'll need to check the value of the ColorScheme variable.
You can also define named colors in the Assets folder, give Light and Dark appearance and then wrap it in an enum or struct.
The onboarding flow exists on Figma, the UI will need to be created for this. In order for someone to create the onboarding UI, the two images will need to be added to the project.
Please use the Figma file to export the image. The contributor will need image editing software to crop the images based on the design files.
Bug Description
After forking the project and cloning, I am creating a branch. And then it's not building and throwing an error : "Command PhaseScriptExecution failed with a nonzero exit code". The same error is throwing after just cloning the main project without forking it.
Things I have tried
Mac :- Big Sur 11.4 - Non-M1
Xcode :- 13
I don't think it's only happening on my device??
Add a new markdown (.md) file to the documentation folder that lists all contributors within the project. Consider the optimum style, ideally, the page should contain:
An existing template exists for this, though a table might be better suited.
Contributor | Position | Social links |
---|---|---|
Name one | β¨ | Twitter Instagram |
Name two | π | |
Name three | π» | Twitter Instagram |
Is your feature request related to a problem? Please describe.
Documentation is required to provide contributors with additional details surrounding the app. An architecture.md file is required to have all the necessary details.
You can find the Architecture file here - https://github.com/Shubham0812/HabitTracker_UI/blob/main/docs/Architecture.md
It has half of the basic information, you have to complete the rest.
Describe the solution you'd like
Here are some highlights worth covering:
The file should be used as a reference point to new developers joining the project.
Describe alternatives you've considered
The contributor will need to go through the current Xcode file and take note of the structure. Where possible please use screenshots or diagrams. The contributor should understand how MVVM works, but also be able to explain it.
The current contributing.md file is only half completed.
The Code Structuring section needs to be populated.
Download the project and review the file structure. Afterward, populate the following sections within Coding Structuring using best practices:
You can leave out the code styling section - as I will tackle this at a later stage. Please use code examples where necessary.
The onboarding UI contains a button. The button is square and has an outer ring to inform users of how far they are within the onboarding flow. This button will need to be created as a reusable view so that it can be used across all three onboarding views.
Please refer to the Figma file for additional details.
SwiftUI does not contain a built-in square. Nonetheless, a rounded rectangle could be used instead and the frame height and width could be modified.
Is your feature request related to a problem? Please describe.
Haptics engages peopleβs sense of touch to enhance the experience of interacting with onscreen interfaces. This provides feedback when a user taps on a button or an action has been successfully completed.
Describe the solution you'd like
Create a class to handle haptic feedback, a singleton object can be used. This will be later used across the app.
A few cases worth handling:
Please test this, a follow-up issue will be to add feedback to various buttons and actions - though this has not been scoped.
Additional context
This issue is blocked by #8 #3.
There is an outstanding issue #9 for the onboarding button - though a placeholder button can be used
The UI will need to be created for the onboarding views. This will involve using the Figma design files to layout the images, text, and buttons.
The UI consists of three views:
The functionality of the onboarding such as notifications and creating new goals/habits will be added once the UI has been completed.
Consider using adaptive columns - https://www.hackingwithswift.com/quick-start/swiftui/how-to-position-views-in-a-grid-using-lazyvgrid-and-lazyhgrid
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.