Commit Graph

186 Commits

Author SHA1 Message Date
Ing. Jan Kaláb 4df7152bce Use search input type instead of text (#755) 2017-12-14 18:54:49 -08:00
Frederic Guillot 868c9e22b5 Avoid infinite redirects in unread/group page 2017-03-06 18:51:57 -05:00
Frederic Guillot 07f3ae0a7b Stay on the same page in single view mode when using 'v' keyboard shortcut 2017-03-06 18:33:15 -05:00
denfil a6b96bf58e Does not select item after touch events 2017-03-05 14:19:44 +03:00
Alexander Steinhöfer bd98d3d582 Added hotkey Shift+A to mark all items as read
I opted for a capital A (Shift + A) since it seems less likely that
a user would press that shortcut unintentionally compared to just 'a'
without any modifiers.

Added help and de_DE translation for new shortcut
2017-02-01 17:42:53 -05:00
Alexander Steinhöfer 9dcd43a994 Select next unread item when opening current item
Fixes #629: After using keyboard hotkey (j, k) to navigate to a story on the
unread list and opening the story with "v",  the next unread item is now
selected so that the current position won't be lost and the user doesn't have
to start from the top of the list again.
2017-01-27 08:42:07 +01:00
denfil ad1de445b2 The same bookmark and read icons for mobile and desktop versions 2017-01-23 11:49:03 +03:00
Frederic Guillot c01619d835 Display list of groups for each subscription 2017-01-15 14:51:55 -05:00
denfil f0ce13e3eb Left and right swiping mark item as read 2017-01-11 14:24:04 +03:00
Frederic Guillot c8a6f45b93 Make search keyboard shortcut compatible with Firefox 2017-01-05 21:02:20 -05:00
Frederic Guillot fd5731cccc Increase button font size 2017-01-03 21:49:57 -05:00
Frederic Guillot 2a87847289 Update error message when refreshing a feed from user interface 2017-01-03 20:31:12 -05:00
Frederic Guillot 97bab4aaad Fix js error after implementing jshint 2017-01-02 20:13:12 -05:00
Frederic Guillot 9234657b17 Minify CSS 2017-01-02 19:44:13 -05:00
Frederic Guillot bc503d49cd Minify Javascript and add automated syntax check on the CI 2017-01-02 19:21:15 -05:00
Frederic Guillot 0b45f1b863 Show last parsing error message in user interface 2016-12-27 21:59:09 -05:00
Frederic Guillot fbe69b54dc Add Postgres database support 2016-12-26 15:07:18 -05:00
Marcus Jaschen 97cdc67c1a fix: listen to `keyup` instead of `keypress` for search field activation
The `/` character is entered into the search field after activating it via
the `keypress` event. That's unexpected behaviour.

This commit fixes that by attaching the keyboard event handler to the
`keyup` event.
2016-12-15 09:38:15 +01:00
Marcus Jaschen 76a2202a20 The slash key is a well-known shortcut to open and focus the
search field in web apps, e. g. DuckDuckGo or Google Plus.

Some editors and pagers use the same shortcut (Vim, less, ...).

This commit adds an event handler for the pressed / key which
calls the `ShowSearch()` function.
2016-12-12 12:31:45 +01:00
denfil b7e5e9cb41 Toggle mobile view menu by js 2016-11-10 16:22:48 +03:00
denfil eed63e5c4a Set focus after opening search form 2016-09-27 18:35:48 +03:00
Mathias Kresin b1187f5071 use links instead of spans
This way the icons can be used even without javascript as all other
links.
2016-08-04 22:38:28 +02:00
Mathias Kresin 48be7a1fff bring back mark as unread/mark as read & bookmark links
The links were silently dropped with commit
4c0d975532 "Make clickable icons"
without any mention in the commit message.

Based on the commit title, I would assume this is an additional
functionality and not something that replaces existing stuff.

It's annoying to move the mouse across the screen (reading text from
the left to right) to get to the mark read icon for marking an article
as read.

All changes related to the removal of the links are reverted by keeping
the clickable icons.
2016-08-04 22:06:02 +02:00
Frederic Guillot cd01042f7d
Javascript cleanup 2016-07-30 18:21:01 -04:00
Frederic Guillot 56e2ac96e6
Minor CSS improvements 2016-07-30 18:07:04 -04:00
Frederic Guillot 27d094c19e
Do not use anymore Closure compiler for Javascript 2016-07-30 18:01:37 -04:00
Frederic Guillot aaf87eb41c
Merge pull-request #536 2016-07-30 17:35:11 -04:00
Samuel Gyger 645adc0746 Due to the swipe patch, on mobile phones a overflow is triggered.
This is changed using css here.
2016-07-29 21:35:55 +02:00
Samuel Gyger fe306b22f8 Added the possibility to swipe to archive an item. 2016-07-29 11:58:47 +02:00
Frederic Guillot ac1eda8adf
Minor Javascript fixes 2016-07-28 21:26:32 -04:00
Ing. Jan Kaláb 6088fb9ff3 Make the whole menu row clickable on small screens
Not sure if this doesn't break some themes, but it makes the menu more usable with default one.
2016-07-28 11:17:14 +02:00
Denis Filimonov c26418fbae Simple search by items title (#506) 2016-05-03 20:15:20 -04:00
Frederic Guillot b8a9c91e79 Make read/bookmark icons more usable in mobile view 2016-03-20 19:00:11 -04:00
Frederic Guillot b0ba363871 Swap unread icons and remove useless href attributes 2016-03-17 19:57:46 -04:00
Frederic Guillot 5f75e81720 Change icons because they are misleading 2016-03-17 19:16:52 -04:00
denfil 08ea480402 Replace help window by layer 2016-03-06 19:11:08 +03:00
denfil caa835030c Add js changes 2016-03-03 17:51:47 +03:00
denfil 4c0d975532 Make clickable icons 2016-02-29 09:06:22 +03:00
Mathias Kresin 0c7bcfb65b Limit the heading to one line for desktop clients
Provide the full title using the title attribute (will be shown by on mouse over for desktop browsers).
2015-12-12 11:22:52 +01:00
Mathias Kresin 1fc6f2222c fix a display glitch in full content mode
Articles without paragraphs should have a margin to item action as well. Fix this issue by adding the margin to the container element.

There must be no space between between the <div class="preview-full-content"> and the $item['content']. The CSS pseudo-class :empty does not consider a div with whitespaces only as empty.  The Selectors Level 4 Draft[1] as of 13 September 2015, mentions the CSS pseudo-class :blank which will do so. But it's a draft and not yet implemented by the majority of the browsers.

[1] https://drafts.csswg.org/selectors-4/#the-blank-pseudo
2015-12-10 21:42:26 +01:00
Mathias Kresin 0c5560cdc6 move the item action links to the top
there must be no space between between the <p class="preview"> and the $item['content']. The CSS pseudo-class :empty does not consider a paragraph with whitespaces as empty.  The Selectors Level 4 Draft[1] as of 13 September 2015, mentions the CSS pseudo-class :blank which will do so. But it's a draft and not yet implemented by the majority of the browsers.

[1] https://drafts.csswg.org/selectors-4/#the-blank-pseudo
2015-12-09 20:35:04 +01:00
Mathias Kresin 8457b83739 toogle text direction for full content preview as well 2015-08-25 22:39:27 +02:00
Kordian Bruck dd47b3f82e Add feed group feature
- each feed can have multiple groups assigned
- group assignments are done on the add or edit feed page
- groups are only visible on the unread page
- groups are exported via the fever api
- it's not possible do delete a group manually from the database (the group will be removed automatically, as soon as the last association of a group to a feed is removed)
- if you try to create an already existing group, the existing group is used to prevent duplicates
2015-08-05 01:01:21 +02:00
Frederic Guillot e32f96eed2 Update doc and cosmetic fixes 2015-08-02 12:59:14 -04:00
Kordian Bruck fb688cfc10 Merge branch 'master' of github.com:miniflux/miniflux into feature-custom-refresh-number
Conflicts:
	assets/js/all.min.js
2015-08-02 18:22:18 +02:00
Mathias Kresin 64c65a9139 select the previous article if the last selected article is hidden 2015-08-02 10:45:44 +02:00
Kordian Bruck 2c3fd54774 Added a config option to select how many concurrent refreshes are done on the subscription page 2015-08-02 02:23:21 +02:00
Mathias Kresin 32658ef4e1 deduplicate data-feed-id 2015-07-20 13:08:16 +02:00
Mathias Kresin ea8958a4bf re-add css property appearance
I've removed the property a long time ago from the css with the hint
that it doesn't change any visible. That was wrong.

The property is related to mobile Safari. The appearance property is
needed to remove the rounded corners from buttons and to add the glow
effect to active input fields.
2015-05-17 22:49:45 +02:00
Mathias Kresin ef949883ed workaround image scaling bug in tables with (mobile) firefox
see https://bugzilla.mozilla.org/show_bug.cgi?id=975632
2015-05-17 22:49:45 +02:00