Skip to content

Commit b8188fb

Browse files
committed
Resolve conflict?
2 parents a70da88 + 7833e5c commit b8188fb

18 files changed

+454
-278
lines changed

Progress.md

Lines changed: 43 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,57 @@
11
# Progress Documentation
2+
3+
## WEEK 3: July 13 - July 17
4+
### Issues
5+
6+
* issue [#49](../../issues/49) : screenshot image not being saved even after clicking save and exit from screenshot overlay
7+
* point of contact: Annie
8+
- [x] investigate reason behind image not saving
9+
- [x] implement a solution to save the image
10+
11+
* issue [#12](../..issues/21) : improve styling
12+
* point of contact: Annie
13+
- [x] separate CSS from HTML files
14+
- [ ] improve styling of checkboxes
15+
216
## WEEK 2: July 6 - July 10
317
### Issues
18+
#### Completed: [#22](../../issues/22), [#41](../../issues/41), [#43](../../issues/43)
419

520
* issue [#13](https://github.com/GenderMagProject/GenderMagRecordersAssistant/issues/13) : CSV formatting
621
* point of contact: Imani
7-
8-
* issue [#15](../../issues/15) : implement delete action button
9-
* point of contact: Diana
10-
- [x] frontend setup: HTML button, js click event listener
11-
- [x] design doc (how should deleteAction() be implemented? flowchart?)
12-
- [ ] backend: implement deleteAction()
13-
- [ ] test
14-
15-
* issue [#21](../../issues/21) : add a toggle option to hide or display the GenderMag pop up by clicking on the extension icon
16-
* point of contact: Annie
17-
- [ ] figure out how to hide and display pop up
18-
- [ ] test
1922

2023
* issue [#22](../../issues/22) : save and exit from screenshot
21-
* point of contact: Fatima
24+
* point of contact: Fatima and Annie
25+
- [x] design doc: https://docs.google.com/document/d/1-matsEHtxUJAcR5-2F_RBA9UD7O9Ej_qajQkFFxC_8o/edit?usp=sharing
26+
- [x] investigate why program freezes
27+
- [x] implement a solution so the program just exits
28+
- [x] implement a solution so the program saves and exits after completing the screenshot and inputting information
2229

2330
* issue [#41](../../issues/41) : delete the exit button and the save and exit button from the exit screen
2431
* point of contact: Annie
25-
- [ ] hide buttons on exit screen
26-
- [ ] test
32+
- [x] hide buttons on exit screen
33+
- [x] test
2734

2835
* issue [#43](../../issues/43) : fix subgoals saving in the wrong place
2936
* point of contact: Elizabeth
30-
- [ ] investigate what happens when clicking on previous subgoals
31-
- [ ] implement a solution so the subgoalID is correct when saving
37+
- [x] investigate what happens when clicking on previous subgoals
38+
- [x] implement a solution so the subgoalID is correct when saving
39+
40+
* multiple issues : improvements to documentation & instructions
41+
* point of contact: Elizabeth
42+
- [x] choose issues on the main repo and comment
43+
- [x] fix as many as possible (6)
44+
- [ ] update download instructions for Mac
45+
46+
* issue [#94](https://github.com/GenderMagProject/GenderMagRecordersAssistant/issues/94): Convert distributed setting guide to MD file
47+
* point of contact: Diana
48+
- [x] issue closed (on the main repo)
3249

3350
### Tasks
3451
- [ ] add mentors as contributors
3552
- [ ] set up a code review system
53+
- [ ] read the style guide: https://google.github.io/styleguide/jsguide.html
54+
- [ ] add comments to the original repository on issues we worked on
3655

3756
## WEEK 1: June 29 - July 3
3857
### Issues
@@ -51,6 +70,13 @@
5170
- [x] test
5271
- [x] fix last action added to every subgoal
5372
- [x] test
73+
74+
* issue [#15](../../issues/15) : implement delete action button
75+
* point of contact: Diana
76+
- [x] frontend setup: HTML button, js click event listener
77+
- [x] design doc (how should deleteAction() be implemented? flowchart?)
78+
- [ ] backend: implement deleteAction()
79+
- [ ] test
5480

5581
* issue [#19](../../issues/19) : add exit without saving button
5682
* point of contact: Annie

distributed_setting_guide.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Using the Tool in a distributed GenderMag Session
2+
3+
1. [What is GenderMag?](#introduction)
4+
2. [Roles, Rules and Common Errors](#paragraph1)
5+
1. [Roles](#subparagraph1)
6+
2. [Rules](#subparagraph2)
7+
3. [Common Errors](#subparagraph3)
8+
4. [Best Practices](subparagraph4)
9+
3. [How to run GenderMag with the Tool (if not distributed):](#paragraph2)
10+
4. [The tool in a distributed setting (testing of it)](#paragraph3)
11+
1. [Here’s What You Need to Set Up (if you do it on join.me):](#subparagraph21)
12+
2. [Here’s What You Need to Set Up (if you do it on zoom):](#subparagraph22)
13+
14+
## What is GenderMag? <a name="introduction"></a>
15+
- GenderMag (short for Gender Inclusiveness Magnifier) is a method for finding gender-inclusiveness issues in software features. Software developers and/or user experience professionals can use it to evaluate their software products from a gender-inclusiveness lens. GenderMag does not advocate for "pink" and "blue" software, but instead gender-inclusive software.
16+
17+
- GenderMag uses 4 personas, each based on 5 key facets of problem-solving. Research spanning approximately 10 years found that these facets contain gender differences and have informed the GenderMag personas.
18+
19+
- GenderMag then takes these personas and incorporates them into a cognitive walkthrough. Allowing software developers and UX professionals to look at and evaluate their software through the eyes of a persona.
20+
21+
## Roles, Rules and Common Errors <a name="paragraph1"></a>
22+
### Roles: <a name="subparagraph1"></a>
23+
- **The facilitator** : Leads the team through the walkthrough and keeps it on track. Can also help to enforce rules and prevent counterproductive work. <br/>
24+
- **The record-driver** : Records the team's comments, results in the GenderMag forms and drives the prototype for the team. <br/>
25+
- **Everyone** : does the evaluation work. <br/><br/>
26+
27+
- For a distributed session, only **Record-driver** will have write access on the computer (Everyone can see the screen)
28+
29+
### Rules: <a name="subparagraph2"></a>
30+
- **Stay true to the persona**: The team is looking to fix issues the persona might find, so really channel the persona. <br/>
31+
- **Follow the "ideal" sequence**: The persona might do something that is not part of the pre-made sequence but stick to the chosen sequence. <br/>
32+
- **Answer every question**: The team wants to gather as much information as they can, so don't leave anything out. <br/>
33+
- **The team doesn't have to agree** : But make sure the recorder writes down everyone’s comments. <br/>
34+
- **Just find the issues** : During the session is not the time to fix the issues, save that for after. <br/>
35+
36+
### Common Errors: <a name="subparagraph3"></a>
37+
- **"I" Methodology** : Evaluators often drift from the persona and answer questions from their perspective. Be sure to use the persona’s name to stay true to the persona. <br/>
38+
- **"Look ahead" problems** : Taking the action before the persona would, giving more information than the persona actually has. <br/>
39+
- **Confusing actions with subgoals** : Subgoals are ideas in the head while actions are done with the hands. <br/>
40+
41+
### Best practices: <a name="subparagraph4"></a>
42+
43+
- Sometimes people don’t actively stay involved. To solve this, call on everyone for every question to get their response.
44+
- There are too many windows, so keeping the persona in mind is very hard. So solve this, encourage everyone to PRINT the persona IN ADVANCE so that it’s lying in front of them and they can use their windows for all the other info they need to keep in mind.
45+
- (Mariam might add more things.)
46+
47+
## How to run GenderMag with the Tool (if not distributed): <a name="paragraph2"></a>
48+
- http://gendermag.org/genderMag.html
49+
50+
## The tool in a distributed setting (testing of it) <a name="paragraph3"></a>
51+
All participants were in a distributed location.
52+
- Brijesh Bhuva
53+
- Rupika Dikkala
54+
- Mariam Guizani
55+
56+
* +ve :
57+
* We were able to finish the entire GM session in D.systerm
58+
* Join.me easy to connect all are able to hear properly
59+
* 2 person need to access computer
60+
* The facilitator will start the session
61+
* Record-driver will Record and drive the project
62+
63+
* \-ve:
64+
* not able to identify the cursor on the screen
65+
* Solution:
66+
* Slowly circle the area which we are pointing
67+
* Change the size of the cursor
68+
* facets name on tool is different then persona
69+
* willing to tinker
70+
* save and continue option was hidden on some of the screens (Bug)
71+
72+
**It’s difficult because we are not able to see the faces.**
73+
<br/>
74+
![image](images/image1.png?raw=true)
75+
### Here’s What You Need to Set Up (if you do it on join.me): <a name="subparagraph21"></a>
76+
![image2](images/image2.jpg?raw=true)
77+
78+
79+
### Here’s What You Need to Set Up (if you do it on zoom): <a name="subparagraph22"></a>
80+
- We think you can accomplish the same thing on zoom, possibly even better than on join.me, since it also has things like break-out rooms and so on, but we’ve tested it only a little.
81+
- (This is a stub. Feel free to expand this.)

images/image1.png

20.5 KB
Loading

images/image2.jpg

239 KB
Loading

jquery-ui-1.12.1/index.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
body{
2+
font-family: "Trebuchet MS", sans-serif;
3+
margin: 50px;
4+
}
5+
.demoHeaders {
6+
margin-top: 2em;
7+
}
8+
#dialog-link {
9+
padding: .4em 1em .4em 20px;
10+
text-decoration: none;
11+
position: relative;
12+
}
13+
#dialog-link span.ui-icon {
14+
margin: 0 5px 0 0;
15+
position: absolute;
16+
left: .2em;
17+
top: 50%;
18+
margin-top: -8px;
19+
}
20+
#icons {
21+
margin: 0;
22+
padding: 0;
23+
}
24+
#icons li {
25+
margin: 2px;
26+
position: relative;
27+
padding: 4px 0;
28+
cursor: pointer;
29+
float: left;
30+
list-style: none;
31+
}
32+
#icons span.ui-icon {
33+
float: left;
34+
margin: 0 4px;
35+
}
36+
.fakewindowcontain .ui-widget-overlay {
37+
position: absolute;
38+
}
39+
select {
40+
width: 200px;
41+
}

jquery-ui-1.12.1/index.html

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Example Page</title>
66
<link href="jquery-ui.css" rel="stylesheet">
7-
<style>
8-
body{
9-
font-family: "Trebuchet MS", sans-serif;
10-
margin: 50px;
11-
}
12-
.demoHeaders {
13-
margin-top: 2em;
14-
}
15-
#dialog-link {
16-
padding: .4em 1em .4em 20px;
17-
text-decoration: none;
18-
position: relative;
19-
}
20-
#dialog-link span.ui-icon {
21-
margin: 0 5px 0 0;
22-
position: absolute;
23-
left: .2em;
24-
top: 50%;
25-
margin-top: -8px;
26-
}
27-
#icons {
28-
margin: 0;
29-
padding: 0;
30-
}
31-
#icons li {
32-
margin: 2px;
33-
position: relative;
34-
padding: 4px 0;
35-
cursor: pointer;
36-
float: left;
37-
list-style: none;
38-
}
39-
#icons span.ui-icon {
40-
float: left;
41-
margin: 0 4px;
42-
}
43-
.fakewindowcontain .ui-widget-overlay {
44-
position: absolute;
45-
}
46-
select {
47-
width: 200px;
48-
}
49-
</style>
7+
<link href="/styles/index.css" rel="stylesheet">
508
</head>
519
<body>
5210

manifest.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
"default_icon": "icon.png",
1515
"default_title": "GenderMag Tool"
1616
},
17-
18-
"web_accessible_resources": [
19-
"images/*.jpg", "images/*.png", "/styles/*.css", "/Stuk-jszip-4cbaf0e/*"
20-
],
2117
"content_scripts": [
2218
{
2319
"matches": ["<all_urls>"],
@@ -26,6 +22,6 @@
2622
"css": ["jquery-ui-1.12.1/jquery-ui.css"]
2723
}
2824
],
29-
"permissions": ["storage", "tabs", "<all_urls>", "unlimitedStorage"],
25+
"permissions": ["storage", "tabs", "<all_urls>", "unlimitedStorage", "activeTab"],
3026
"web_accessible_resources": ["/templates/*", "/images/*.jpg", "/images/*.png", "/styles/*.css", "styles/styles.css", "/jquery-ui-1.12.1/jquery-ui.css", "/font-awesome-4.6.1/*", "/Stuk-jszip-4cbaf0e/*" ]
3127
}

scripts/action.js

Lines changed: 13 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -325,19 +325,13 @@ function actionLoop(el){
325325
}
326326
});
327327

328-
//TODO(roseg31) : Investigate this...
329-
//on save and exit button click, save all info, close session
330-
$("#saveAndExit").unbind( "click" ).click(function(){
328+
//exits the gendermag session
329+
function exit() {
331330
//setStatusToFalse("inMiddleOfAction");
332331
localStorage.setItem("inMiddleOfAction", "false");
333332
$(el).find("#actionLoopTemplate").hide();
334333
$(el).find("#theFinalCountDown").show();
335334

336-
//create and download sheet with session data
337-
setStatusToTrue("finishedGM");
338-
var scurvy = createCSV();
339-
downloadCSV(scurvy);
340-
341335
//on click of redownload zip button, download sheet again
342336
$("#finalDownload").unbind("click").click(function () {
343337
setStatusToFalse("inMiddleOfAction");
@@ -374,54 +368,23 @@ function actionLoop(el){
374368
setStatusToFalse('finishedGM');
375369
$('#actionLoopTemplate').show();
376370
});
377-
});
378-
379-
$("#justExit").unbind( "click" ).click(function(){
380-
//setStatusToFalse("inMiddleOfAction");
381-
localStorage.setItem("inMiddleOfAction", "false");
382-
$(el).find("#actionLoopTemplate").hide();
383-
$(el).find("#theFinalCountDown").show();
371+
}
384372

373+
//TODO(roseg31) : Investigate this...
374+
//on save and exit button click, save all info, close session
375+
$("#saveAndExit").unbind( "click" ).click(function(){
385376
//create and download sheet with session data
386377
setStatusToTrue("finishedGM");
387378
var scurvy = createCSV();
379+
downloadCSV(scurvy);
388380

389-
//on click of redownload zip button, download sheet again
390-
$("#finalDownload").unbind("click").click(function () {
391-
setStatusToFalse("inMiddleOfAction");
392-
var scurvy = createCSV();
393-
downloadCSV(scurvy, false);
394-
});
395-
396-
$("#oldFormat").unbind("click").click(function () {
397-
var scurvy = createOldCSV();
398-
downloadCSV(scurvy, true);
399-
});
400-
401-
//make sure user has downloaded their file before quitting
402-
$("#finalYesCheckbox").unbind("click").click(function () {
403-
if ($('#finalYesCheckbox').is(":checked")) {
404-
$('#finalYes').prop('disabled', false);
405-
$("#finalYes").attr("style","background-color:#7D1935;color:white;");
406-
}
407-
else {
408-
$('#finalYes').prop('disabled', true);
409-
$("#finalYes").attr("style","background-color:#7D1935;color:white;opacity:0.5");
410-
}
411-
});
412-
413-
//final quit button clears local storage and reloads
414-
$("#finalYes").unbind("click").click(function () {
415-
localStorage.clear();
416-
location.reload();
417-
});
381+
exit();
382+
});
418383

419-
//'I'm not done, take me back' button returns to action loop
420-
$("#finalNo").unbind("click").click(function () {
421-
$('#theFinalCountDown').hide();
422-
setStatusToFalse('finishedGM');
423-
$('#actionLoopTemplate').show();
424-
});
384+
$("#justExit").unbind( "click" ).click(function(){
385+
setStatusToTrue("finishedGM");
386+
var scurvy = createCSV();
387+
exit();
425388
});
426389

427390
//back button returns to post action questions, resets got post action key

scripts/background.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,25 @@ var screenShotURL;
2222

2323
/*Send request to current tab when page action is clicked*/
2424
chrome.pageAction.onClicked.addListener(function(tab) {
25+
// toggle the visibility of slideout
26+
chrome.tabs.executeScript({ code: `(${ inContent })()` });
27+
function inContent() {
28+
const slideout = document.getElementById('slideout');
29+
const gmFrame = document.getElementById('GenderMagFrame');
30+
if (slideout.style.display == 'none'){
31+
slideout.style.display = '';
32+
gmFrame.style.display = '';
33+
}
34+
// if the slider is not already open, hide the slideout
35+
else if (!statusIsTrue("sliderIsOpen")){
36+
slideout.style.display = 'none';
37+
gmFrame.style.display = 'none';
38+
}
39+
}
40+
/* Alternate option: link to the GitHub
2541
window.open("https://github.com/mendezc1/GenderMagRecordersAssistant");
42+
*/
43+
2644
//TODO: Think about creating open/close function and call it here?
2745
/*OLD CODE HERE DON'T DELETE UNTIL TO DO IS RESOLVED*/
2846
//chrome.tabs.executeScript(null, { file: "./jquery-ui-1.12.1/jquery.js" }, function() {

0 commit comments

Comments
 (0)