Skip to content

Commit

Permalink
feat(venues): support ~60 venues (CCF A conf/journal)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed Jan 18, 2019
1 parent dc91926 commit ee75a51
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 3 deletions.
63 changes: 63 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,66 @@
[![Build Status](https://travis-ci.org/sabertazimi/dblp.svg?branch=master)](https://travis-ci.org/sabertazimi/dblp)

An awesome DBLP search application

## Venues Support

> Add new venue in `src/api/index.js` `VENUES_LIST`
- ASPLOS
- HPCA
- ISCA
- MICRO
- ATC
- SC
- PPOPP
- OSDI
- SOSP
- PVLDB
- SIGMOD
- TPDS
- TOCS
- TOS
- FPGA
- EuroSys
- ICS
- PACT
- IPDPS
- DATE
- CGO
- ICPP
- SoCC
- TACO
- ICDE
- ICSE
- KDD
- SIGIR
- FAST
- NSDI
- SIGCOMM
- MobiCom
- INFOCOM
- AAAI
- CVPR
- ICCV
- ICML
- IJCAI
- NeurIPS
- ACL
- CCS
- CRYPTO
- S&P
- Security
- EUROCRYPT
- SIGGRAPH
- MM
- CHI
- VR
- UbiComp
- PLDI
- POPL
- FOCS
- STOC
- LICS
- CAV
- WWW
- RTSS
68 changes: 68 additions & 0 deletions src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,72 @@ export const VENUES_LIST = [
'HPCA',
'ISCA',
'MICRO',
'USENIX Annual Technical Conference',
'SC',
'PPOPP',
'OSDI',
'SOSP',
'PVLDB',
'SIGMOD Conference',
'IEEE Trans. Parallel Distrib. Syst.',
'ACM Trans. Comput. Syst.',
'TOS',
'FPGA',
'EuroSys',
'ICS',
'PACT',
'IPDPS',
'DATE',
'CGO',
'ICPP',
'SoCC',
'TACO',
'ICDE',
'ICSE',
'KDD',
'SIGIR',
'FAST',
'NSDI',
'SIGCOMM',
'MobiCom',
'INFOCOM',
'AAAI',
'CVPR',
'ICCV',
'ICML',
'IJCAI',
'NeurIPS',
'ACL',
'ACM Conference on Computer and Communications Security',
'CRYPTO',
'IEEE Symposium on Security and Privacy',
'USENIX Security Symposium',
'EUROCRYPT',
'ACM Trans. Graph.',
'ACM Multimedia',
'CHI',
'VR',
'UbiComp',
'PLDI',
'POPL',
'FOCS',
'STOC',
'LICS',
'CAV',
'WWW',
'RTSS',
];

const VENUES_TITLE = {
'USENIX Annual Technical Conference': 'ATC',
'SIGMOD Conference': 'SIGMOD',
'IEEE Trans. Parallel Distrib. Syst.': 'TPDS',
'ACM Trans. Comput. Syst.': 'TOCS',
'ACM Conference on Computer and Communications Security': 'CCS',
'IEEE Symposium on Security and Privacy': 'S&P',
'USENIX Security Symposium': 'Security',
'ACM Trans. Graph.': 'SIGGRAPH',
'ACM Multimedia': 'MM',
};

export const venueTitle = venue => (VENUES_TITLE[venue] || venue);
4 changes: 2 additions & 2 deletions src/containers/Filter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from 'antd';

import * as Actions from '../actions';
import { VENUES_LIST } from '../api';
import { VENUES_LIST, venueTitle } from '../api';

const Filter = ({
venues,
Expand Down Expand Up @@ -48,7 +48,7 @@ const Filter = ({
<Checkbox
value={venue}
>
{venue}
{ venueTitle(venue) }
</Checkbox>
</Col>
))
Expand Down
7 changes: 6 additions & 1 deletion src/containers/Result.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React from 'react';
import { connect } from 'react-redux';
import { Table, Alert } from 'antd';

import { venueTitle } from '../api';

const Result = ({
error,
isLoading,
Expand Down Expand Up @@ -75,7 +77,10 @@ const Result = ({
const dataSource = items.filter(item => (
venues.includes(item.venue)
&& parseInt(item.year, 10) >= year
));
)).map(item => ({
...item,
venue: venueTitle(item.venue),
}));

return (
<Table
Expand Down

0 comments on commit ee75a51

Please sign in to comment.