Skip to content

Flowerhack/feature/bulkemailnewdash testingcoverage - #1215

Merged
flowerhack merged 10 commits into
masterfrom
flowerhack/feature/bulkemailnewdash_testingcoverage
Oct 10, 2013
Merged

Flowerhack/feature/bulkemailnewdash testingcoverage#1215
flowerhack merged 10 commits into
masterfrom
flowerhack/feature/bulkemailnewdash_testingcoverage

Conversation

@flowerhack

Copy link
Copy Markdown
Contributor

Implements the "send email" section of the new instructor dashboard, with unit & acceptance testing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For margin and padding please use the $baseline variable from _variables.scss

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also use $baseline/2, $baseline*2, etc.

@flowerhack

Copy link
Copy Markdown
Contributor Author

Alright, this is an update on https://github.com/edx/edx-platform/pull/1180 and is ready for review. @sarina @adampalay @talbs @wedaly

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you define the same method twice? Am I missing something?

@sarina

sarina commented Oct 8, 2013

Copy link
Copy Markdown
Contributor

I did a first pass. Tomorrow I'll check out your branch and run your code and probably make more comments once you've addressed mine.

Other reviewers - we'd love to get this in before the next release so your immediate attention is appreciated.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why define this in definitive pixels?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to mimic the appearance of the old dashboard—is there a variable or something similar I should be using to set the width of this element (perhaps another "multiple of $baseline")?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehhh. The original dashboard was far from well-architected from a FED-perspective. I took a look through really am at a loss when trying to compare UI, FED, and why you tried to sync this up.

Assuming that this beta will need to cleaned up from a design perspective down the road, I'm fine with this arbitrary, but working from your perspective, value. Fine with me for now.

@wedaly

wedaly commented Oct 9, 2013

Copy link
Copy Markdown
Contributor

Disable these just for the specific function/line

  • no-name-in-module errors: nose loads these dynamically, so it's not surprising pylint can't find them.
  • Unused argument errors for 'step'
  • no-member errors

You should fix the unused argument and TODO errors.

@flowerhack

Copy link
Copy Markdown
Contributor Author

@wedaly Cool, thanks. Fixed up the quality issues as requested in the most recent update

@flowerhack

Copy link
Copy Markdown
Contributor Author

@sarina @wedaly acceptance test is fixed now, but waiting to make sure it runs/succeeds on jenkins

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add in better text for the other two options? I'm thinking

staff -> "everyone who is staff or instructor on this course"
all -> "ALL (everyone who is enrolled in this course as student, staff, or instructor)"

Otherwise the popup message doesn't really emphasize very well the option (especially how scary the ALL is!!)

@sarina

sarina commented Oct 9, 2013

Copy link
Copy Markdown
Contributor

Whatever you did to fix the display on the beta dash, can you also apply to the legacy dash implementation?

I'm not certain we'll be able to get the beta dash email implementation fully working & incorporating instructor task feedback before this needs to launch next week, so in case we can't yet turn on the beta dash implementation, it'd be good to have legacy looking right. At the moment, in my local dev the beta dash implementation looks fine but the legacy one looks wonky.

legacy:
screen shot 2013-10-09 at 4 37 23 pm

@talbs

talbs commented Oct 9, 2013

Copy link
Copy Markdown
Contributor

👍, given the known FED and lack of design support issues.

Comment thread lms/envs/acceptance.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may want a space there

@wedaly

wedaly commented Oct 10, 2013

Copy link
Copy Markdown
Contributor

👍 Good to go once this gets a successful build on master. I'm going to merge #1296 as soon as the tests pass there to fix some broken acceptance tests on master, so you may need to rebase after that and trigger a manual build.

flowerhack pushed a commit that referenced this pull request Oct 10, 2013
…_testingcoverage

Flowerhack/feature/bulkemailnewdash testingcoverage
@flowerhack
flowerhack merged commit f397e66 into master Oct 10, 2013
@flowerhack
flowerhack deleted the flowerhack/feature/bulkemailnewdash_testingcoverage branch October 10, 2013 18:26
@brianhw
brianhw restored the flowerhack/feature/bulkemailnewdash_testingcoverage branch October 15, 2013 22:50
@brianhw
brianhw deleted the flowerhack/feature/bulkemailnewdash_testingcoverage branch October 16, 2013 07:06
iloveagent57 pushed a commit that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants