This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add library store * feat: wire up data from package * fix: remove unneeded text color * fix: rewire update logic * fix: avoid webpack eval * fix: propagate projectViewMode via project/:id/store * fix: be defensive about meta data * feat: open guide on click * feat: add fallback image for libraries * feat: fetch libraries from npm * chore: copy vendor files to nccbuild * style: remove debris * feat: begin library store data modelling * feat: wire up recommendations to messaging * fix: provide backward-compatible mkdir * feat: allow updates from disk * feat: make installed libraries toggleable * feat: prepare npm updates * feat: allow switching from remote to local install type * feat: allow switching from local to remote install type * feat: redispatch npm updates appropriately * fix: dedupe update/connect transactions based on npm name * fix: adjust wording * feat: add option to set library displayName * feat: add library homepage * style: simplify layout mechanics * fix: simplify library meta data * fix: remove faulty memoization * fix: retain optimization * fix: avoid null pointer errors * fix: remove details arrow * fix: write packageFile on import * fix: remove stray log * feat: fetch library meta data from npm * chore: remove console.log * fix: remove library menu ftb * chore: remove console.log * feat: check for remote library updates * fix: allow up and downgrades * fix: avoid submit loops * feat: show update indicator * feat: highlight updatable libraries * feat: add option to check for updates * feat: add link to library store * fix: fix minor visual bugs * feat: add option to view website * fix: resolve npm tags correctly * refactor: lift installed detail state to LibraryStore * feat: show only update if > 0 are available * fix: toggle libraries only on summary click * fix: abort on failure * fix: disable entire title on library store * fix: abstract updateAvailable computation * chore: remove material design ftb * fix: add active state for links with icons * WIP fix: add migrator for library name and description * fix: laxen our way out of some ts corners * fix: sand some rough edges * feat: open remote files, e.g. website example on splashscreen * fix: harden packageFile passing * chore: factor out alva ui components * fix: trigger remote file request correctly with node hosts * fix: allow remote updates for recommended store items * feat: indicate update target version * chore: pass around component artifacts * fix: adjust library image height * fix: avoid jumping button heights * fix: remove faulty meta data * chore: avoid unnecessary work when building site * fix: find vendor dir correctly * fix: ensure vendored yarn is executable * chore: avoid duplication * fix: expose more data when fetch fails * chore: expose more data for fetch errors * fix: switch to fork from execa
- Loading branch information
Showing
297 changed files
with
148,925 additions
and
2,217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './lib'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./lib'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "@meetalva/components", | ||
"version": "1.0.0", | ||
"description": "Alva UI components", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/meetalva/alva.git" | ||
}, | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Meet Alva Team", | ||
"url": "https://meetalva.io/" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/meetalva/alva/issues" | ||
}, | ||
"devDependencies": { | ||
"react-testing-library": "5.4.0", | ||
"ts-jest": "^23.10.5", | ||
"ts-loader": "4.4.1" | ||
}, | ||
"dependencies": { | ||
"@types/feather-icons": "4.7.0", | ||
"@types/react": "16.7.18", | ||
"@types/react-dom": "16.0.7", | ||
"@types/react-textarea-autosize": "4.3.3", | ||
"@types/styled-components": "4.0.3", | ||
"feather-icons": "4.7.3", | ||
"react": "16.7.0", | ||
"react-dom": "16.4.2", | ||
"react-feather": "^1.1.5", | ||
"react-select": "2.0.0-beta.6", | ||
"react-textarea-autosize": "7.0.4", | ||
"react-virtualized": "^9.21.0", | ||
"tag-hoc": "1.0.0" | ||
}, | ||
"homepage": "https://meetalva.github.io/" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as React from 'react'; | ||
import DemoContainer from '../demo-container'; | ||
import { BadgeIcon } from './'; | ||
import { Color } from '../colors'; | ||
|
||
export default (): JSX.Element => ( | ||
<DemoContainer title="Badge Icon"> | ||
<BadgeIcon color={Color.Blue20}>3</BadgeIcon> | ||
</DemoContainer> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
import { Color } from '../colors'; | ||
|
||
export interface BadgeIconProps { | ||
color: Color; | ||
} | ||
|
||
const StyledBadge = styled.div` | ||
display: flex; | ||
height: 15px; | ||
width: 15px; | ||
padding-top: 1px; | ||
box-sizing: border-box; | ||
justify-content: center; | ||
font-weight: bold; | ||
font-size: 10px; | ||
border-radius: 50%; | ||
background: ${(props: BadgeIconProps) => props.color}; | ||
color: ${Color.White}; | ||
`; | ||
|
||
export const BadgeIcon: React.StatelessComponent<BadgeIconProps> = props => { | ||
return <StyledBadge color={props.color}>{props.children}</StyledBadge>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "badge-icon", | ||
"displayName": "Badge Icon", | ||
"description": "Counts e.g. notifications", | ||
"flag": "alpha", | ||
"version": "1.0.0", | ||
"tags": ["atom"] | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
a18e8ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployed at: https://alva-commits-a18e8.surge.sh