Skip to content

Let’s style this thing! #37

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

Merged
merged 58 commits into from
May 16, 2013
Merged

Let’s style this thing! #37

merged 58 commits into from
May 16, 2013

Conversation

rastersize
Copy link
Contributor

The app could look, erhm, prettier. So let’s make it prettier! One could see this issue as a part of #35.

End result should look something like:
The questions list The question view for a “normal” question

Tasks

General

  • Create a sprite sheet for all the image assets.
  • Export all the image assets.
  • Change the font to Avenir Next, see pull request Use Avenir Next as font for the app #29 and the tasks for each section. In progress

Questions

  • Rework the single question table view cell. In progress
    • See if we can get tags in there.
    • See if we can get last modified date in there.
  • Remove “Heat” button as that is now inline.
  • Improve the “cool” color scheme.
  • Improve the “bad” color scheme.
  • Change the font to Avenir Next, see pull request Use Avenir Next as font for the app #29. In progress

Question

  • Change the question header view to use our background image.
  • Style the vote up/down buttons.
  • Set the link color to #0069bf (0x0069bf; HSB: 207,100,75).
  • Set the color of comments, poster and score to link color to #404040 (0x 404040; HSB: 0,0,25).
  • Try to get last modified date into the design.
  • Change the font to Avenir Next, see pull request Use Avenir Next as font for the app #29.

Tags browser

Activity

Users profile search

User profile

Tab bar

  • Change the font to Avenir Next, see pull request Use Avenir Next as font for the app #29. Postponed as there is an issue in AKTabBarController, the version which allows us to set the font also has a bug which (is supposed to have been fixed, but it isn’t) pushed the contained view controller’s view down by the height of the status bar.

rastersize added 8 commits May 7, 2013 19:32
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
* master:
  Some more UI improvements
  UI improvements in the built in web browser
  Change bio cell's height.
  Add mockup form, return to login view on signup.
  UI improvements to logout buutton and links in user bio is now opened in built in web browser
  Add registration option to login view and load from storyboard in container.
  Add static table view to storyboard and change controllers for signup.
  Fixed a bug in OPFProfileContainerController which made the view to large for iPhone1-iPhone4s
* master:
  UI Improvements in signupview
* master:
  Add note about two methods which must not be called from main thread.
  Commented out the PostQuestion view in master while I'm fixing a bug
  Added view and controllers for posting questions. Functionality is not fully implemented yet.
- Answer header background.
- Vote up/down highlighted buttons.
- Also fixes a few minor visual issues with the question metadata
backgrounds.

Signed-off-by: Aron Cedercrantz <[email protected]>
- Also tweaks the other images a bit.

Signed-off-by: Aron Cedercrantz <[email protected]>
@ghost ghost assigned rastersize May 8, 2013
rastersize added 15 commits May 8, 2013 16:23
* master:
  Fixed a bug in the postQuestionView. Will fix a nice animation later
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
* master:
  Added db access for PostQuestionController
- Why U give me so much trouble UILabel/UITextView!

Signed-off-by: Aron Cedercrantz <[email protected]>
- Such a view is not part of the hierarchical view “chain” but rather a
separate mode. Thus a modal presentation is the right way to go. By
utilizing.
- Known issue: the runtime is complaining that we are dismissing
something while we present this. I honestly do not know or understand
what the something else should be as it’s only one view controller being
presented…

Signed-off-by: Aron Cedercrantz <[email protected]>
- Just change the `0` to a `1` in the macro define statement (@jesjos).

Signed-off-by: Aron Cedercrantz <[email protected]>
- DLog will only output info in DEBUG mode and will also automatically
state in which method it’s being called from.

Signed-off-by: Aron Cedercrantz <[email protected]>
@rastersize
Copy link
Contributor Author

So the commit between (inclusive) 171d349 and 2a34254 were meant to be committed to master… FML.

* master:
  Added a check so all required fields inkl. email is correctly filled in the sign up view
  Keyboard is now is now dismissed when return key is pressed in the login view
  User can now register in DB
  Added update query to update DB with a new user. Still need to change the sign-up user interface
  Database is now updated when user post comments
  The database is now updated when writing answers to specific posts
  Added answer button to the QuestionView
  All tags are now parsed and tranformed to the correct format in OPFPostQuestionViewController
  Added animation to/from the postQuestionView
  Functionality added to update the database with questions.
  Deleted duplicates of OPFWebViewController and OPFWebView
  Added calculations for updates of the database with questions
  Added class that will insert data in database

Signed-off-by: Aron Cedercrantz <[email protected]>

Conflicts:
	Code Stream.xcodeproj/project.pbxproj
	Code Stream/OPFCommentsViewController.m
	Code Stream/OPFPostQuestionViewController.m
	Code Stream/OPFQuestionsViewController.m
* master:
  Fix all the new warnings triggered by newly turned on warnings.
  Turn on a bunch of warnings.
  Fix that +indexString warning.
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
rastersize added 26 commits May 14, 2013 15:44
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
- One step closer to the mockups.

Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
* master: (22 commits)
  Fix a major name mangling problem.
  Auxiliary db is now updated when new posts and users are added
  Remove SwipeView from Podfile.
  Fix hidding footer labels on missing matches.
  Add displaying of related tags.
  Add wrapper around fixed footer.
  Add removing tag selection functionality.
  Display sub-controller showing selected tags.
  Add sub-controller handling selected tags.
  Add fixed header scrollview to collection view's wrapper.
  Fix passing tagNames into query and externalize getTagNames.
  Pass query and search string into questions controller.
  Load questions by tags and render footer.
  Change tag-browser footer and add to collection-view.
  Add tag-browser footer to collection view.
  Add footer for tag-browser showing question-match-count.
  Add SwipeView to podfile.
  Overwrite setter and move IBOutlet setting to view.
  Add collection header for selection state.
  Add collection view header and change insets.
  ...

Signed-off-by: Aron Cedercrantz <[email protected]>

Conflicts:
	Code Stream.xcodeproj/project.pbxproj
	Code Stream/OPFCommentsViewController.m
	Code Stream/OPFPostQuestionViewController.m
	Code Stream/OPFQuestionViewController.m
	Code Stream/OPFQuestionsViewController.m
- Better safe than sorry.

Signed-off-by: Aron Cedercrantz <[email protected]>
- Disabled right now as we would need to strip the content like crazy.

Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
Signed-off-by: Aron Cedercrantz <[email protected]>
* master:
  Fixed a compile error
  Added user login to OPFPostQuestionView if user is not logged in
  Added user login to OPFPostQuestionView if user is not logged in

Signed-off-by: Aron Cedercrantz <[email protected]>

Conflicts:
	Code Stream/OPFPostQuestionViewController.m
* master:
  Last commit was incomplete
  Design polishing
  Try to fix graphics
  Sorting is hooked into View View is drawn correctly
  Hookup of SortOrderControl with ViewController
  ScrollView works
  Both Headers inserted correctly and bouncable
  Encapsulate search bar and sorting controls in a view
  Segment control for search order Button to get to Segment Control

Signed-off-by: Aron Cedercrantz <[email protected]>

Conflicts:
	Code Stream.xcodeproj/project.pbxproj
	Code Stream/OPFQuestionsViewController.m
	Code Stream/OPFQuestionsViewController.xib
Signed-off-by: Aron Cedercrantz <[email protected]>
rastersize added a commit that referenced this pull request May 16, 2013
Style certain parts of the app (part of #35).
@rastersize rastersize merged commit 3ded9e1 into master May 16, 2013
@rastersize
Copy link
Contributor Author

I’m tired of merge conflicts, so here we go merge pull request time™

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.

1 participant