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

Add client caching of packageDetails #2

Closed
dmstern opened this issue Aug 26, 2018 · 1 comment
Closed

Add client caching of packageDetails #2

dmstern opened this issue Aug 26, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@dmstern
Copy link
Owner

dmstern commented Aug 26, 2018

To reduce REST calls and file reading to npmfrog server.

@dmstern dmstern self-assigned this Aug 26, 2018
@dmstern dmstern added the enhancement New feature or request label Aug 26, 2018
@dmstern dmstern added this to the 1.0 milestone Aug 26, 2018
dmstern added a commit that referenced this issue Aug 29, 2018
@dmstern
Copy link
Owner Author

dmstern commented Aug 29, 2018

was already implemented.
// close

@dmstern dmstern closed this as completed Aug 29, 2018
dmstern added a commit that referenced this issue Sep 2, 2018
dmstern added a commit that referenced this issue Sep 2, 2018
dmstern added a commit that referenced this issue Sep 2, 2018
dmstern added a commit that referenced this issue Nov 26, 2018
first server api call successful

render a simple list of packages

Beautify author displayName

Merge Server and Vue-Frontend to one App

create packageDetail.vue

Improve type safety for package data, render fallback message

Improve / cleanup PackageDetail / About

Add Material Design

simplify server api

make package list more fancy (colors, paddings)

Add keywords to view

Add config description to readme

Add click event to package-list-item

Add search bar / move packages conversion to PackageService

Optimize Package Service to cache Packages and RequestPromise

use real data and log error

change title to keinbock / add searched method

improve searchbar to show keyworks

implement tagged search

Make Autocomplete fancy with badges

avoid duplicate searchItems

enable debugging

make search more fancy

config files: create sample / config can also be in project folder

optimize package list alignment

Add search icon

Adapt height of app for bigger viewports

Add theme colors / style autocomplete box

Add description to searchItem

WIP: replaced vue-material with vuetify

Add vscode config

dev logs: remove color prefixes / beautify progress display

improve search bar: packages and searchitems searchable

SearchItem: rename displayString to value

add right icons to search autocomplete

make version optional due to server response

open packageDetail on select package from search / more search improvements

add footer text / fix toolbar spacing on resize

clear search bar when selecting package

searchbar: add show searchitem.key in selection items /  fix focus state on input

disable implicitAny rule for ts

Add npmFrog logo

Add logo and title to navigation drawer/ hotfix main.position

cleanup console // fix icon dimension for firefox

correct typo

move icon credits to navigation drawer

fix chip color on focus

changed markup of packeList to vuetify

add keyword chips

remove old vue

add list title

Rename Packges to PackgeList

fine tune style of packageList

style keywords height

optimize search: item as value, #keywords semantic search

WIP: filterSearchItems (OR)

WIP: improve filterSearchItems (AND)

WIP: crossSearch almost ready

finalize cross filter search

rename var

make construktor of PackageService singelton private

create EventBus // filter PackageList by

remove console error when fetching data

Filter PackagesList on searchInput

restore loadpackages funktion without error to load Packages on vue load

focus search on hotkeys '/' and '#'

experimented with shortcut hint

Add hotkeys: ctrl+enter for submit // hint text

improve search bar width

move config search to new config-service

Change heading of PackageList

rename onSearchEnter to onSearchSubmit

remove '/' and '#' from searchbar on shortcut to avoid unwanted filtering

Remove setTimeout

Hide search hint on medium and down

excape regex special characters

WIP: filter PackageList on submit

remove query event / emit one filter event for both types

Add SearchKey.TEXT

avoid console error on shortcut focus

hide send icon on not focus

keep input value on submit

Add total number of packages to packgelist

Add detail and dist-tags function to server

Server: add getReadme function

minor refactor backend api, packageservice

WIP: create types for packageDetails

Get PackageDetail from Server

accumulate readme and packageDetail on backend

remove route from view / fix data: structure

add config route to server / load artifactory url from config

avoid console error

refresh list on browser navigation

fix typo

Add loading spinner

search autofocus only for home route

avoid restarting server on package download

Only download package if necessary

handle error if no readme is present

set readme to null if none exists

artifactory service minor refacor

add mainCode to package

packageList: Adapt style for long author names

Display readme and mainCode on packageDetail.vue

PackageDetail.vue: Add syntax highlighting to code

PackageDetail.vue: add tabs

Add margin to headings

PackageDetail.vue: Add dependencies tab

PackageDetail.vue: add Versions tab

move app footer to menu

fix heading level

WIP: PackageDetail: add grid layout

WIP: packageDetail: add card

BackendAPI: Add RAML file, e.g. for AdvancedRESTClient

server error handling, minor refactorings

WIP: frontend error handling

mock: Add more code to readme

readme: style code elements

server: expose repokey to api

avoid code wrap

detail page: add install code

remove unused imports

add start tasks for production (pm2)

backendAPI: generic hostname

fix router push packageDetail 2 packageDetail

correct iVersions type: version can be a string

packageDetail.vue: fix rendering of version history list

App.vue: rename items to navItems

ServerApi: add get meta function

Add About dialog, remove footer and dummy navItem

WIP: packgeDetail: try to forceupdate on route change

Fix re-render of readme code on package route change

replace dummy avatar with default user icon

Add content to About dialog / Config interface

PackageDetail: add keywords, version

PackageDetail.vue: Add author, version, repo

PackageDetail.vue: Adapt grid: more space for meta info

About.vue: change (c) by

PackageDetail.vue: add conditional to repo card

Aboout dialog: Add content

PackageDetail.vue: split install code into 2 code blocks

PackageDetail.vue: show loadingSpinner on load other package

Manage vue plugins

PackageDetail.vue: handle different types of authors

PackageDetail.vue: handle different types of repository // optimize displayName algorithm

mock: add keywords to schoenes-module

PackageDetail: move keywords to meta panel

PackageDetail: meta panel: reduce padding

PackageDetail: fix conditional

PackageDetail.vue: add license to meta panel

Package: handle author type 'name <mail>'

PackageDetail: enable dependenciesCount

Package: add comments

Add scope to installation manual

artifactory service: fix error log

mock: remove scripts for test

Package: add property mainCode

PackageDetail.vue: add scripts

add semicolons

Add vue-timeago plugin

PackageDetail.vue: add time ago to versions history

PackageDetail.vue: move author in meta panel

PackageDetail.vue: add last published time ago

about: add coffee

Add github issue ids to todo comments

Add Search hint if not focused

PackageDetail.vue: Add PackageDetailItem.vue to reduce code redundancy

Style polish: font-size and -family more npmjs.org-like

PackageDetail.vue: add created time

PackageDetail.vue: beautify repo url (name)

install font-awesome // minor ui improvements

WIP: PakcageDetailIrem.vue =try to add icon

PackageDetailItem: Add icons

Package: Add repositoryName

PackageDetail: Add gitlab and github icon

WIP: add copy install code to clipboard

install dependencies

Add notification to clipboard feature
fixes #5

Clipboard: reduce notificationTimeout // Add max-width to avoid code overflow

Artifactory service: fix error if no readme available

About: added unicorns

Adapt link style color, hover

Change accent color to frog green

reset colors for warn, info, success, error to default

PackageDetail: show fallback messages if no readme, main code, dependencies

packageDetail: fix false missing readme warning

install depependecies on mac

update font-awesome to 5.3

fix icon size

update url-parse to 1.4 due to vulnerabilities

move dependencies to devDependencies

Icons: unify icons to fa (except some mdi exceptions)

replace title logo with color image

links:hover no opacity

PackageList: enlarge author icon

Search Icons: reset size to normal

add copy2Clipboard icon

fix #9 Add PackageDetailItem for Package Bugs

Add last modified date and version to packagelist
fixes #7

Package.displayName: Fix missing prop for some objects

PackageList: Adapt style / switch <style> and <script> order

Add TypeScript to devDependencies

add full-width class // fix undefined console error

PackageDetail.vue: add description #11

fix #11 PackageDetail.vue: add homepage link / icons for website and external

PackageService: reduce code #2

adapt code blocks style: icon at the beginning

PackageDetail.vue: add bash language to scripts

Add github:emoji support to readme component
fixes #10

model/package-json: fix Author Interface

Package.ts: fix writability of prop

package.json: fix peer dependencies

ArtifactoryService: improve error log

PackageDetail / PackageService: refactor layers

Add Crafter (Author | Contributor) with colorful avatars

CrafterAvatar: trim whitespace for initials

CrafterAvatar: adapt foreground color to light of background color

WIP: new searchFilter algorithm with Crafters as SearchItems

Fix cross search

Refactor SearchItem: keywords only

Fix different colors for same crafter

Add more test items for crafter color

Fix crafter search with key:value syntax

install dependencies on mac

add missing trailing comma

avatar crafter color getter

WIP (with errors): refactor color algorithm

Avatar color algorithm: remove errors (still WIP)

Crafter color: initalize colors array

Crafters color: generate simple (just increase index)

package: keep crafters

avoid duplicate crafters

avatar: avoid light colors, fix limit

fix #12 frontend cache for config, meta // rename PackageService to DataStore

add server caching for packageDetails
fixes #1

PackageDetail.vue: Make links from dependencies
fixes #18

cursor: pointer for chips in links

Chip in Search: truncate via css with max-length

enable error messages in the ui

Server: improve error

PackageDetail.vue: improve scripts table

delete unused file

fix truncation of crater name in chip

Simplified build scripts

move pm2 to dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant