Application for Tekniska Museet's "Zero-City"-exhibition

Overview

zero-city-application

Application for Tekniska Museet's "Zero-City"-exhibition

Git commits

When making commits please try to avoid huge commits doing lots of things. Try to split them up into smaller bits so the changes you made are more easy to follow. Avoid big commits like "Added entire feature", instead splitting it into the different subfeatures or problems solved. Cherry picking is very useful for this since you can pick out the lines you want in the commit instead of the whole file. If you're unsure how to use cherry picking in the terminal a git gui client is recommended (would kind of recommend this anyways since it eases use of git).

A good rule of thumb is that if your commit message contains an "and", it should probably be 2 commits.

Git pull requests and reviewing

To ensure that the code we write is understandable and well written we will be using pull requests and peer reviews. This means that we will pretty much never push directly to the master branch and instead make use of feature branches. When the code is ready it will be reviewed by at least one person who wasn't part of writing it before it is included in the master branch.

Branches and pull requests

When working on a feature, say for example a new assignment, create a new branch (name it something relevant like the assignment name) and perform your work in this branch. When your code is ready to be included in the main branch make a pull request from your feature branch. Make sure that your code is clear and understandable so that someone else can easily understand it. Also make sure that comments are included where reasonable (comments don't make up for unreadable code though). The pull request should also include a small description of what was changed and (if applicable) which requirements it relates to. When at least one person has peer reviewed the pull request and marked as approved it can be merged (if the reviewer didn't already do this)

Peer reviews

Peer reviewing a pull request is done by going to the "files changed" page of the pull request (on github) and going through the changes. Sometimes you should also switch to the branch locally so you can run and test the changes. When reviewing someones code, keep the following in mind:

  1. Be nice! You are reviewing the code not the person, if you see something wrong comment about it, but don't be an asshole. :)
  2. Is the code easy to understand or does it take a long time to decipher?
  3. Are the comments correct and well written? Are they needed? Or is there perhaps somewhere there should be one but isn't?
  4. Does the code actually do what it's supposed to? Does it do anything it's not supposed to?
  5. Does it contain any obvious faults or room for improvement?
  6. ... Can't think of anything more right now, but if you come up with something else add it to this list

If the changes pass these requirements it is probably good enough to be included, but it is of course always nice to have more than one pair of eyes review the code before merging it. If you think it is good enough then press "Review changes" on the top right of the "Files changed" page and "Approved", and include any comments you might have. If you think there is something that must be changed before it is merged then select "Request changes" and comment why you don't think it is ready to be merged.

Setting up workspace

Installing software

Guide follows steps from (Flutter's installation page)[https://docs.flutter.dev/get-started/install/windows]

  1. Install (Android Studio)[https://developer.android.com/studio]
  2. Download flutter from the flutter documentation.
  3. Start android studio and go through the Android Studio setup wizard.
  4. Open command prompt and type flutter doctor. Set android studio installation path using flutter config --android-studio-dir "<directory>"
  5. When opening project, either select github repository fold which you've already cloned or select VSC and type in [email protected]:antonschulz/zero-city-application.git
  6. Create Virtual device by clicking device manager (Icon in top-right which looks like a mobile phone)
  7. Follow steps, more detailed steps to come.
  8. Open device, and start the app by clicking run (green play button).
Comments
  • Create garage summary page

    Create garage summary page

    The Garage zone is not accessible unless all other zones are completed or a code is entered.

    If a user tries to enter the Garage, an alert prompt is shown.

    The summary consists of a PageView widget that creates a Container carousel for each zone.

    zone 
    opened by thomasem1 1
  • City port + Planning Lab/Text types updates + renaming mission files

    City port + Planning Lab/Text types updates + renaming mission files

    Main changes:

    City Port:

    1. New missions added
    2. Zone Intro page added
    3. Basic functionality for City Port completed

    Planning Lab:

    1. Updated graphical elements of PlanningLab mission1 to fit to the screen without scrolling
    2. Renamed mission files for easier navigation (now goes by + e.g. planning_lab1 or city_port_intro)

    Text types:

    1. The files zone_title and zone_body had probably been copied from mission_title/body and thus had the same widget name so this is now changed
    2. Added margin to the text so that it fits to the screen without being covered behind the top "bar"
    enhancement zone 
    opened by thomasem1 0
  • Folder structure & Map connectivity

    Folder structure & Map connectivity

    Aim of this PR is to orginize the files and folder and establish a folder hierarchy for the project. I've also started working on connecting the map to the different zones and missions.

    enhancement feature 
    opened by DowLucas 0
  • Planning lab first version

    Planning lab first version

    Implemented missions in Planning Lab zone:

    1a) Using widget GridView.count to create a grid of Elevated Buttons 1b) Receives the pressed buttons from 1a and the user can click one of these as a radio button, then give a suggestion on a climate positive alternative 1c) Simply state the correct percentage of how long a car on average is not used

    After mission 1c, click a button to return to map page.

    Map page is altered slightly to use elevated buttons instead to navigate the zones. Should be updated in the future

    zone 
    opened by thomasem1 0
  • Cleanup

    Cleanup

    Tog bort oanvända filer och fixade några grafiska detaljer.

    Kolla gärna om de senaste commitsen är med (pairings, comments osv), det blev tokigt med rebasen.

    opened by thomasem1 0
Owner
null
GChat is a chatting application developed using Flutter(Dart) and firebase for 2 users. Trying to Develop an application that does not sell your data with whatsapp rolling out its privacy policy updates.

Gchat - The Chatting Application A Flutter project for chatting. I used Android Studio and you can you any editor of your choice for ex: VS Code, Inte

Sanchaksh Kaul 6 Nov 6, 2022
The application helps the patient to follow up on medication schedules, and each patient has his own profile. The application is connected to Bluetooth to help the patient's dependents follow up on the patient.

spoon_medicines A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you star

null 0 Nov 27, 2021
Chat-application - Build Chat Application using Flutter and Firebase

Build Chat Application using Flutter & Firebase Source Code - Enjoy ! Social Med

Muhammad Irvan 0 Jan 3, 2022
Weather-application - A weather application based on dart programming language

weather based mobile app A new Flutter project with dart programmingg language S

Munem Sarker 5 Nov 13, 2022
a meme-based chat application

MemeChat An example of a meme-enabled chat app on Flutter, using Firebase, Google Sign In, and device camera integration. MemeChat contains platform-s

Emily Fortuna 528 Dec 25, 2022
This is a mobile application that goals to build a quiz about programming subjects writter with Flutter.

❓ DevQuiz A mobile application being built with NLW5 (an event from Rockeatseat - https://app.rocketseat.com.br/). This application goals to build a q

Samilly Nunes 18 Dec 23, 2022
:lock: this is flutter mobile application music using glass morphism concept

Flutter Glass Morphism ?? Description: This is source flutter using glass morphism concept How I can run it? ?? Clone this repo ?? Run below code in t

Dao Hong Vinh 12 Jan 19, 2022
Weather app A complete simple weather application.

Weather app A complete simple weather application. Getting Started Get your own API key from: open weathe map aqicn Google Cloud Platform Setup for go

Yoad 10 Oct 25, 2022
:rocket: This application using flutter for develop a realtime chat app

Flutter Chat Socket Description: ?? This application using Flutter for develop a realtime chat app How I can run it? ?? Clone this repository ?? Run b

Dao Hong Vinh 17 Dec 31, 2022
𝐂𝐨𝐯 𝐀𝐡𝐞𝐚𝐝 is a mobile application to track and create better Covid-19 route maps for both shop owners and customers

Cov Ahead Cov Ahead is a mobile application where shopkeepers have an app that shows QR code and users can scan this QR code which will automatically

Abhijith Kp 2 Jan 15, 2022
An application for the time recording of his working hours.

Time24 An open-source time-tracking software About the project! The purpose of this project is to simplify the documentation of working hours and at t

null 5 Aug 3, 2021
A sophisticated Chat Application [NestJs+Flutter].

Hornbill Key features Used sockets for messaging and loading registered contacts Sqflite to store chats on device Repository pattern Tech Stack [Flutt

Nikhil Nayak 18 Dec 26, 2022
Your friendly neighborhood application.

Welcome to Aas Pass ?? Inspiration Time and again we have observed an on-the-spot need for borrowing daily devices, enquiring about essential services

Satwik Dudeja 3 May 30, 2021
Plant Manager is an application that was developed on Rocketseat NLW5 with React Native but was rebuilt using Flutter.

Technologies | Project | Layout | License ?? Technologies This project was developed with the following technologies: Flutter ?? Project Plant Manager

Mayderson 7 Aug 11, 2021
Movie Lib is a mobile application where you can find the movies of your interest. This app provides a collection of movies of different languages according to your interest.

Movie Lib Movie Lib is a mobile application where you can find the movies of your interest. This app provides a collection of movies of different lang

Abhijith Kp 6 Sep 28, 2021
Flutter UI Kits for mobile, tablet, desktop and web application

UIKits2 A complete UIs for mobile and tablet, which include 16 categories. Start SignUp & Login Walkthrough Loading Profiles Feed Article Activity Cre

Anuchit Chalothorn 25 Oct 8, 2022
A project to showcase usage of basic principles to convert any 3D design into a working application using Flutter.

Developing apps with 3D designs in flutter This project is developed to showcase how we can use some basic principles to convert any 3D design into a

Manas Pratap Thakur 30 Dec 22, 2022
A unique flutter application aimed at helping people getting their vitals using Photoplethysmography and Computer Vision

A unique flutter application aimed at helping people getting their vitals using Photoplethysmography and Computer Vision Current Goals: Use the camera

Smaranjit Ghose 37 Dec 27, 2022
Microsoft Teams Clone is a Video conference application with a rich integrated chat experience, to connect with friends,family & colleagues. Developed as a redesign of Microsoft Teams during my menteeship at Microsoft Engage 2021

Microsoft Teams Clone by Karanjot Singh About Microsoft Teams Clone is a Video conference application with a rich integrated chat experience, to conne

Karanjot Singh 60 Dec 28, 2022