Previous Lecture | lect02 | Next Lecture |
lect02, Mon 10/04
Meeting Logs, Initial README, Team Agreements
Homework for Wednesday
Teams are Assigned
You should have been:
- active on a team channel on the Slack
- added to one of the teams on the ucsb-cs148-f21 Github org.
- given admin access to a project repo for your team
- given read-only access to a FEEDBACK repo for your team
Today, you’ll also again be working in groups with your team during the class time.
Lecture: First introduction to Web Technologies (HTML, CSS, JavaScript)
We briefly discuss a presentation on the basics of web app technologies
The Slack: _articles
vs. _help
channels
On the Slack, we will make available several pairs of channels that have the endings _articles
and _help
, for example:
In each case:
- If you want to share a useful article, tip, blog post, video, etc. about the topic, post in the
_articles
channel for the topic. - If you need help with the topic, i.e. you want to ask a question, post in the
_help
channel for the topic. You are also encouraged to provide help in the_help
channel if you think you know the answer to someone’s question.
The #js_*
channels are for everything JavaScript related
Note that the #js_articles
and #js_help
channels will be used for all technologies that relate to JavaScript-based technology stacks, including:
- JavaScript
- node.js
- express
- React
- Cypress testing
- etc.
The #mobile_*
channels are for everything related to mobile ecosystems and app development
- Android
- IOS
- Kotlin
- Swift
- etc.
If you aren’t sure, you can always use #teaching-team
A few more special purpose channels:
- Always monitor the channel for your team
- Always monitor the
#general
channel for announcements, especially during lecture or section breakouts
Absences
If you need to miss class for an unavoidable reason, please notify:
- FIRST, your team, on your team channel
- SECOND, DM the instructor.
Please send these notifications:
- in advance where possible.
- as soon as possible after the fact, when advance notification isn’t possible.
This is a matter of showing respect for your team.
Then, as soon as possible after the class, check with your team to see what you missed. It should be a team responsibility to help one another with unavoidable absences.
Unavoidable reasons might include:
- Being too ill to participate in class
- Family emergency
- Internet outage
- An online job interview that could not be scheduled at another time.
Of course, unavoidable absences should be rare if you are going to remain in good standing with your fellow team members, folks that are depending on you to do your part for the team.
Breakout work today
Today, during your breakout sessions, you should accomplish the following tasks:
- Add an initial
README.md
to your github repository (details below) - Hold a quick standup meeting and log it on GitHub!
- Plan to meet for a Sprint planning meeting (if not done yet) and finish the discussion of your team agreements / team norms and record whatever agreements you are able to reach in
team/AGREEMENTS.md
(details below)
Initial README.md
One member of the group should go to the page for their main project repo, e.g.
On your own team repo, click on the web interface link Add a README
, or, if you see no such buttton, create a README.md file in one of your branches, add, commit, and push it to origin, and create a pull request!
In your README.md, put the following:
- The name of your project
- A one sentence description of your project
- A list of the full names and github ids of the members of your project team
Holding and capturing a Scrum Meeting on GitHub: Start documenting your team’s work
- Elect / designate a
Scribe
for the meeting, a team member who will capture the content of the meeting. - Create a
team
directory in your repo (if you haven’t already done so) - In that directory, create a subdirectory
sprint01
- Create a file in the
sprint01
directory entitledlect02.md
(.md stands for mardown language, a simple notation to produce formatted text in ASCII). This is where the meeting notes should go that the scribe takes down:./team/sprint01/lect02.md
. For future meetings, you will replace ‘lect02’ with the respective meeting time denominator (e.g. lab01, lect05 or 04-17-2pm). The notes should state if this meeting was a special Scrum meeting (Sprint Planning, Story Time, Retrospective, or a simple daily Scrum/Standup).
In the meeting notes, write the name of your project, your mentor, and the names of the people on your team (recording who is present, and noting those that are absent.)
Example:
Project: Teaching CS148
Mentor: Self-Mentored ;)
Meeting Time: lect02
Type of meeting: <one or several of [sprint planning, daily scrum, sprint review, retrospective, story time]>
Team: Alan Roddick [x], Nagarjun Avaraddy [x], Tobias Höllerer [x], Bryan Terce [x], Vincent Tieu [x], Hunter Xia [x], Kaiwen Li [x], Wei-Yee Go [ ]
Scribed Discussion:
Tobias forwarded web technology stack slides. Submitted for comments by the teaching team. Next task: Prepare Lab02. No current roadblocks
Wei-Yee is absent but announced that he finished grading h00. Waiting for instructor feedback. No current roadblocks.
Alan …
Nagarjun…
Bryan…
Vincent…
Hunter…
Kaiwen…
Taking attendance for today’s lab, and making sure your name is on your log with a [x] or an [ ] is a portion of your group’s grade for this week’s lab.
NOTE 1: The first team member listed should be the ‘lead’ for this meeting, i.e. a team member who is responsible for recording meeting information this time (also called a ‘scribe’). In the future, this person likely called/coordinated the meeting. Meeting leads are different from project owner and Scrum master and we expect/require that this responsibility rotates among your team members!
NOTE 2: Having a group member (or two) absent will not cause your group’s grade to be reduced. However you are require to record attendance in order for the group to get full credit for the lab. In the future, team members that cannot make it to a meeting should message their information to the meeting lead beforehand.
NOTE 3 In the future, meeting time can also be something like lect05 (for Lecture 5), or 10-17-2pm for an out-of-class-time meeting.
In your github repository, you will structure the documentation of your meetings into ‘sprints’ (your team will decide on the Sprint length / interval. Typically, for this class a Sprint is one or two weeks).
From now on, please document all your meetings in the github repository in this way.
team/AGREEMENTS.md
In addition to the NORMS.md file that was part of the last lab session, please create, in your team
folder, a file called AGREEMENTS.md
.
In this file, you’ll first put the names of the members of your team.
Then, you’ll enter a list of agreements. These are things that you all agree are good practices for creating a harmonious productive team.
As a suggestion, the first few team agreements, might be these:
- When one of us is absent for an unavoidable reason, we will let the other team members know on the team slack channel, in advance when possible, as soon as possible afterwards when not.
- We will each try to keep such absences to a minimum.
- Those of us that are present will do our best to share with the absent team member(s) what they missed and help them get back up to speed.
- We will all do our best to contribute to the teams success.
You then might add a few more.
Consult this article for ideas:
If you run out of time
If you run out of time, the agreement discussion can be continued outside of class over the slack, and during the next lab and/or lecture.
If you finish early
If you finish all of the above, start on a discussion of the following things. These are discussions that will carry over into Wednesday and Friday Section, but you can start them now if you’ve finished the items above.
Add to your README.md:
- Which tech stack(s) your group plans to evaluate/use
- Planning about what what you want your app to do for the user.
Which tech stack
We’ve provided some information for you already, and when we formed groups, mentors probably discussed stack possibilities a bit already. So in some groups, there is likely to be a quick consensus on which tech stack to use. But you should still discuss the pros/cons of each, and share your preferences with one another.
If you have questions, or need guidance, ask your mentors and teaching team.
Planning your app
For the second item, focus on writing a single paragraph in which you go into a bit more detail about what you plan for your project.
- This is NOT intended to be a full specification of what you are going to build. It is just an opportunity to briefly add a bit more detail that wouldn’t fit into the one-sentence description.
- Later this week, we’ll be going through some “user-story mapping” exercises to do a more detailed design, so don’t get bogged down trying to make this paragraph comprehensive or perfect. It’s just a first step.
Some things to consider:
How many different kinds of users are there, and what are their roles?
Examples:
- A ride share app mvp has two kinds of users: those looking for rides, and those offering rides.
- A third kind of user role you might need is site admins, users that can have the power to delete anyone’s posting.
- A game app might have only one kind of user: game player
- A Recipe sharer app might have two kinds:
- Users that look up recipes, but can’t add new data to the system
- Admins that can upload new data to the system
- Later, you might also allow user contributed content; in that case, you might want admins to have the ability to delete inappropriate content.
Think about the fact that your app will be available on the public internet. If your app allows user contributed content of any kind, there is the potential for inappropriate content (spam, or worse) to be added. One option is restrict your user base to folks with an @ucsb.edu
login; we can provide example code for both Spring Boot and next.js that you can build on to add this feature to your app.
What will each different kind of user be able to do in your app?
- What are their goals in using their app?
- How does your app allow them to accomplish their goal?
Future steps: .gitignore
and LICENSE.md
Two future steps will be to also add .gitignore
and a LICENSE.md
The .gitignore
will depend on your tech stack choice.
- Create a file called
.gitignore
in the root of your repo - For Spring Boot project, we recommend the contents from this article: https://ucsb-cs148.github.io/javatopics/gitignore_maven/
- For next.js, a good start is the
.gitignore
for Node, found here: https://github.com/github/gitignore/blob/master/Node.gitignore
For the LICENSE.md
:
- Consult https://choosealicense.com/.
- The MIT license is a reasonable choice if you don’t want to spend too much time troubling over this.
- Create a file called
LICENSE.md
in the root of your repo, and copy the license terms into that file.