Skip to content

Commit

Permalink
What's New page added
Browse files Browse the repository at this point in the history
  • Loading branch information
direc85 committed Dec 16, 2018
1 parent b317ba8 commit 8631c24
Show file tree
Hide file tree
Showing 9 changed files with 153 additions and 17 deletions.
3 changes: 2 additions & 1 deletion harbour-picross2.pro
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ DISTFILES += \
rpm/harbour-picross2.spec \
rpm/harbour-picross2.changes \
scripts/genPicross.sh \
harbour-picross2.desktop
harbour-picross2.desktop \
qml/pages/WhatsNew.qml

SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172

Expand Down
10 changes: 10 additions & 0 deletions qml/pages/About.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ Page {
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeExtraLarge
}
Label {
text: "17.12.2018"
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
}
Button{
anchors.horizontalCenter: parent.horizontalCenter
text: qsTr("What's new?")
onClicked: pageStack.push(Qt.resolvedUrl("WhatsNew.qml"))
}
Label {
anchors.horizontalCenter: parent.horizontalCenter
text: qsTr("Developed by")
Expand Down
106 changes: 106 additions & 0 deletions qml/pages/WhatsNew.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import "../DB.js" as DB

Page{
id: newsPage

PageHeader {
id: newsTitle
title: "What's new?"
}

SilicaFlickable {
id: newsFlickable
contentHeight: mainColumn.height
anchors.top: newsTitle.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
clip: true

VerticalScrollDecorator { flickable: newsFlickable }

Column {
id: mainColumn
width: parent.width - 2*Theme.paddingLarge
x: Theme.paddingLarge
spacing: Theme.paddingSmall

SectionHeader {
text: "Picross v2.3 (17.12.2018)"
font.pixelSize: Theme.fontSizeSmall
}
Label {
width: parent.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
text:
"- What's new page added in About page
- Keypad hint added
- Dragging difficulty bar handled correctly
- Add indicator for saved level
- Fix level loading indicator
- Fix keypad cursor wrapping
- Less opaque grid in application cover
- Cross made shorter and bolder (again)
- Added version and date to About page
- Level select dialog uses SQLite more effectively
- Code cleanup, reorganisation and clarification"
}
SectionHeader {
text: "Picross v2.2 (09.12.2018)"
font.pixelSize: Theme.fontSizeSmall
}
Label {
width: parent.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
text:
"- On-screen keypad
- Disable cover action if already on level select
- Code reorganisation
- Make flash animation weaker and shorter
- Reseting settings actually works now
- Fix stuttering level selection
- Add loading indicator to main page
- Auto save when entering level select"
}
SectionHeader {
text: "Picross v2.1 (07.12.2018)"
font.pixelSize: Theme.fontSizeSmall
}
Label {
width: parent.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
text:
"- Don't start next levels game timer in winning screen"
}
SectionHeader {
text: "Picross v2.0 (29.11.2018)"
font.pixelSize: Theme.fontSizeSmall
}
Label {
width: parent.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
anchors.horizontalCenter: parent.horizontalCenter
font.pixelSize: Theme.fontSizeSmall
text:
"- Fix: level selection empty
- QML-only application, fix QML warnings
- Finnish translation
- Fixed level selection layout
- Redesign many UI elements
- Many parts rewritten or revised
- Retouched zoom levels
- Option for automatic grid size
- Update icons
" // Newline intentional
}
}
}
}
23 changes: 12 additions & 11 deletions rpm/harbour-picross2.changes
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
# * date Author's Name <author's email> version-release
# - Summary of changes

# * FIXME Matti Viljanen <matti.viljanen@kapsi.fi> 2.3-1
# - Fix wrong color when dragging difficulty item
# - Fix cursor wrapping
# - Less opaque grid in application cover
# - Cross made shorter and bolder
# - Added version to About page
# - Add saved level status indicator
# - Don't show keypad hint if keypad is active after update
# - Level select dialog uses SQLite more effectively
# - Remove internal dependencies
# - Code cleanup, reorganisation and clarification
* Sun Dec 17 2018 Matti Viljanen <matti.viljanen@kapsi.fi> 2.3-1
- What's new page added in About page
- Keypad hint added
- Dragging difficulty bar handled correctly
- Add indicator for saved level
- Fix level loading indicator
- Fix keypad cursor wrapping
- Less opaque grid in application cover
- Cross made shorter and bolder (again)
- Added version and date to About page
- Level select dialog uses SQLite more effectively
- Code cleanup, reorganisation and clarification

* Sun Dec 9 2018 Matti Viljanen <matti.viljanen@kapsi.fi> 2.2-1
- On-screen keypad
Expand Down
2 changes: 1 addition & 1 deletion rpm/harbour-picross2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name: harbour-picross2
%{!?qtc_make:%define qtc_make make}
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: Picross
# Checklist: .spec .yaml .changes About.qml
# Checklist: .spec .yaml .changes About.qml WhatsNew.qml
Version: 2.3
Release: 1
Group: Qt/Qt
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-picross2-fi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="43"/>
<location filename="../qml/pages/About.qml" line="48"/>
<source>What&apos;s new?</source>
<translation>Muutokset</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="53"/>
<source>Developed by</source>
<translation>Kehittänyt</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="59"/>
<location filename="../qml/pages/About.qml" line="69"/>
<source>Maintainer</source>
<translation>Ylläpitäjä</translation>
</message>
Expand Down
4 changes: 4 additions & 0 deletions translations/harbour-picross2-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<source>Maintainer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>What&apos;s new?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CoverPage</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/harbour-picross2-it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<source>Maintainer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>What&apos;s new?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CoverPage</name>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-picross2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="43"/>
<location filename="../qml/pages/About.qml" line="48"/>
<source>What&apos;s new?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="53"/>
<source>Developed by</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="59"/>
<location filename="../qml/pages/About.qml" line="69"/>
<source>Maintainer</source>
<translation type="unfinished"></translation>
</message>
Expand Down

0 comments on commit 8631c24

Please sign in to comment.