Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threads controller UI and removing attachments #28

Closed

Conversation

KamilaHasanbega
Copy link
Contributor

KamilaHasanbega and others added 30 commits June 24, 2016 10:35
Added the two introductory pages, “Introduction” & “Get Started” and
their controllers/design. Fixed the flow to redirect to the first page
when setting up, and from them to the Welcome page.
Added the case in which the user is Logged in but does not have
authorizations. Fixed the flow accordingly. Fixed the design of the
rest.
@@ -159,6 +159,77 @@ div.big-icon > img {
cursor: pointer;
}

.attach-icon {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are attachment-specific definitions needed in app.css? Do they need to be shared across pages?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The CSS for the attachment icon and attachment input/display is in two pages: Threads.html and Messages.html, I put it on app.css not to have repetitive code.

@koto koto mentioned this pull request Aug 24, 2016
<div ng-repeat="x in threadsCtrl.compose.attachments" class="single-attachment">{{x.filename + ' (' + x.size + 'K)'}}</div>
</div>
<div ng-repeat="x in threadsCtrl.compose.attachments" class="single-attachment"><span id="attachName">{{ x.filename | limitTo: 20 }}{{x.filename.length > 20 ? '...' : ''}} </span> <span id="attachSize"> {{'(' + x.size + ')'}} </span> <span style="width:10%;">
<button ng-click="threadsCtrl.removeObj($index" class="removeAttachment"> x </button> </span></div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing ")".

@koto
Copy link
Contributor

koto commented Aug 25, 2016

OK to merge @kbsriram

@kbsriram
Copy link
Contributor

Rebased via a962299

@kbsriram kbsriram closed this Aug 26, 2016
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.

3 participants