Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
hypothesis/h
40a/h
AFDudley/h
BigBlueHat/h
BinaryStars/h
CCH543/h
Cinemacloud/h
Ericgood/h
FTG-003/h
Forethinker/h
GratefulTony/h
HGldJ1966/h
JJediny/h
John-Williams/h
Laurian/h
LittleFancy/h
MattyQ/h
Mishkin2015/h
RichardLitt/h
Staffan1/h
SteelWagstaff/h
TowerBR/h
VanyTang/h
abigailricarte/h
ackermann/h
alecchap/h
alesarrett/h
alexsegura/h
almereyda/h
alon/h
andzi/h
angelicxsoul/h
ansmoh/h
apurvajalit/h
arjunvasan/h
asdevor/h
bZichett/h
badgettrg/Webmarks
balmas/h
balupton/h
bbarker/h
bennlich/h
benthor/h
blakewest/h
bogste/h
bradparks/h
brittanystoroz/h
buiquangchien/h
cdchapman/h
charblanc/h
chowsamihq/h
chr7stos/Webmarks
chrber/h
chrismPssina/h
christinaphamAD/h
cmbirk/h
codeaudit/h
coolcool21/h
cove/h
csillag/h
danjimilk/h
dannyhope/h
daredream/h
davidmcclure/h
dennisplucinik/h
dezynetechnologies/h
diegodlh/h
djcun95/h
donsequitur/h
edsu/h
eiro10/h
emckean/h
ercchy/h
eshellman/h
fangang123/h
fchasen/h
fcrimins/h
fhirsch/h
ficolo/h
fragkopoulos/h
gauravkeerthi/h
geass/h
gergely-ujvari/h
gitter-badger/h
gnott/h
gobengo/h
gorinovic/h
gus3000/h
hashin/h
helemaalbigt/h
hmstepanek/h
hwasiti/h
hylhero/h
hyperstudio/h
iHDeveloper/h
imeysam/h
jackspaceBerkeley/h
jarey/h
jasdeep/h
jason790/h
jasonzou/j
jazahn/h
jccr/h
jean/h
jeka57/h
jeremydean/h
jermnelson/h
jibe-b/h
jnishiyama/h
jojksd/h
jpadilla/h
jtremback/h
judell/h
juli-so/h
kabacs/h
karissa/h
kaushikvijay/h
kaydoh/h
kill4uk/h
klopiinas/h
klrkdekira/h
koulihong311/h
krassif/h
krstnkngs/h
leoqmp/h
linhua55/h
lucadealfaro/h
lyspooner/h
lyzadanger/h
m1yag1/h
magee/h
mambocab/h
manunymous/h
maraino/h
mari-ja/h
markbarratt/h
martinq/h
mbbaig/h
mcarv63/h
meawoppl/h
meflyup/h
metasj/h
mgasner/h
mgax/h
mollycr/h
mrchrisadams/h
mrienstra/h
mshavlovsky/h
muddasani/h
nagyist/hyphothesis-h
nagyistoce/hypothesis-h
nanxio/h
neozhangthe1/h
ningyifan/h
nkingsley/h
nlholdem/h
nlisgo/h
noscripter/h
nshkuro/h
odnodn/h
oliversauter/h
openbizgit/h
opengovfoundation/h
openstax/hypothesis-server
ouroboros8/h
pablomarti/h
pamo/h
philipn/h
philschatz/h
pinballwonder/h
plainspace/h
raowl/h
rickyhan/h
rmoorman/h
rmtsukuru/h
robertknight/h
rowhit/h
rsarxiv/h
saakaifoundry/h
samrose/h
scharf/h
shepazu/h
sherah/h
shofheinz/h
soapdog/h
ssin122/test-h
st-fresh/h
stuk88/h
sylvanmist/h
tetratorus/h
tilgovi/h
tomnar/h
trivenews/h
truthadjustr/h
utngz/h
voidfiles/h
wenchen/h
yargevad/h
yumatch/h
zshen777/h
Nothing to show
Choose a Head Repository
hypothesis/h
40a/h
AFDudley/h
BigBlueHat/h
BinaryStars/h
CCH543/h
Cinemacloud/h
Ericgood/h
FTG-003/h
Forethinker/h
GratefulTony/h
HGldJ1966/h
JJediny/h
John-Williams/h
Laurian/h
LittleFancy/h
MattyQ/h
Mishkin2015/h
RichardLitt/h
Staffan1/h
SteelWagstaff/h
TowerBR/h
VanyTang/h
abigailricarte/h
ackermann/h
alecchap/h
alesarrett/h
alexsegura/h
almereyda/h
alon/h
andzi/h
angelicxsoul/h
ansmoh/h
apurvajalit/h
arjunvasan/h
asdevor/h
bZichett/h
badgettrg/Webmarks
balmas/h
balupton/h
bbarker/h
bennlich/h
benthor/h
blakewest/h
bogste/h
bradparks/h
brittanystoroz/h
buiquangchien/h
cdchapman/h
charblanc/h
chowsamihq/h
chr7stos/Webmarks
chrber/h
chrismPssina/h
christinaphamAD/h
cmbirk/h
codeaudit/h
coolcool21/h
cove/h
csillag/h
danjimilk/h
dannyhope/h
daredream/h
davidmcclure/h
dennisplucinik/h
dezynetechnologies/h
diegodlh/h
djcun95/h
donsequitur/h
edsu/h
eiro10/h
emckean/h
ercchy/h
eshellman/h
fangang123/h
fchasen/h
fcrimins/h
fhirsch/h
ficolo/h
fragkopoulos/h
gauravkeerthi/h
geass/h
gergely-ujvari/h
gitter-badger/h
gnott/h
gobengo/h
gorinovic/h
gus3000/h
hashin/h
helemaalbigt/h
hmstepanek/h
hwasiti/h
hylhero/h
hyperstudio/h
iHDeveloper/h
imeysam/h
jackspaceBerkeley/h
jarey/h
jasdeep/h
jason790/h
jasonzou/j
jazahn/h
jccr/h
jean/h
jeka57/h
jeremydean/h
jermnelson/h
jibe-b/h
jnishiyama/h
jojksd/h
jpadilla/h
jtremback/h
judell/h
juli-so/h
kabacs/h
karissa/h
kaushikvijay/h
kaydoh/h
kill4uk/h
klopiinas/h
klrkdekira/h
koulihong311/h
krassif/h
krstnkngs/h
leoqmp/h
linhua55/h
lucadealfaro/h
lyspooner/h
lyzadanger/h
m1yag1/h
magee/h
mambocab/h
manunymous/h
maraino/h
mari-ja/h
markbarratt/h
martinq/h
mbbaig/h
mcarv63/h
meawoppl/h
meflyup/h
metasj/h
mgasner/h
mgax/h
mollycr/h
mrchrisadams/h
mrienstra/h
mshavlovsky/h
muddasani/h
nagyist/hyphothesis-h
nagyistoce/hypothesis-h
nanxio/h
neozhangthe1/h
ningyifan/h
nkingsley/h
nlholdem/h
nlisgo/h
noscripter/h
nshkuro/h
odnodn/h
oliversauter/h
openbizgit/h
opengovfoundation/h
openstax/hypothesis-server
ouroboros8/h
pablomarti/h
pamo/h
philipn/h
philschatz/h
pinballwonder/h
plainspace/h
raowl/h
rickyhan/h
rmoorman/h
rmtsukuru/h
robertknight/h
rowhit/h
rsarxiv/h
saakaifoundry/h
samrose/h
scharf/h
shepazu/h
sherah/h
shofheinz/h
soapdog/h
ssin122/test-h
st-fresh/h
stuk88/h
sylvanmist/h
tetratorus/h
tilgovi/h
tomnar/h
trivenews/h
truthadjustr/h
utngz/h
voidfiles/h
wenchen/h
yargevad/h
yumatch/h
zshen777/h
Nothing to show
  • 1 commit
  • 9 files changed
  • 0 commit comments
  • 1 contributor
@@ -21,7 +21,6 @@ module.exports = ['$timeout', '$rootScope', 'localStorage', ($timeout, $rootScop
$rootScope.socialview.selected = false
for view in $rootScope.views
if view.name == $rootScope.socialview.name
console.log view.name
view.selected = false
$rootScope.views.push({name:scope.groupName, icon:'h-icon-group', selected:true})
if localStorage.getItem 'group1.name'
@@ -16,6 +16,7 @@ module.exports = ['$timeout', 'crossframe', 'via', '$rootScope', (
$timeout (-> elem.find('#via').focus().select()), 0, false
scope.shareGroup = false
## Make this a via link.
scope.shareGroupLink = 'https://hypothes.is/g/102498/' + $rootScope.socialview.name
scope.$watch (-> $rootScope.socialview.name), (socialview) ->
if socialview != 'All'
@@ -97,14 +97,18 @@ module.exports = class WidgetController
else if $rootScope.socialview.name != ('All' or 'Public' or 'Only Me')
# Show group annotations.
str2 = "group:" + $rootScope.socialview.name
re2 = new RegExp(str2, "g");
re2 = new RegExp(str2, "g")
# if $scope.auth.user == null
# false
# else
# re2.test(container?.message?.tags)
re2.test(container?.message?.tags)
$rootScope.views = [
{name:'All', icon:'h-icon-public', selected:false}
{name:'Public', icon:'h-icon-public', selected:true}
{name:'Public', icon:'h-icon-public', selected:false}
{name:'Only Me', icon:'h-icon-lock', selected:false}
{name:'DEMOGROUP', icon:'h-icon-group', selected:false}
{name:'DEMOGROUP', icon:'h-icon-group', selected:true}
]
if localStorage.getItem 'group1.name'
@@ -120,4 +124,4 @@ module.exports = class WidgetController
groupicon2 = localStorage.getItem 'group3.icon'
$rootScope.views.push {name:groupname2, icon:groupicon2, selected:false}
$rootScope.socialview = $rootScope.views[1]
$rootScope.socialview = $rootScope.views[3]
@@ -114,14 +114,13 @@ html {
// Share this page /////////////////////
.share-via-link {
font-size: 1.2em;
top: 1px;
left: 8px;
position: relative;
cursor: pointer;
color: $gray-light;
float: left;
margin-right: 5px;
margin-right: 8px;
&:hover {
color: $gray-dark;
View
@@ -14,8 +14,8 @@
class="dropdown-toggle"
title="{% raw %}{{ auth.user|persona:'provider' }}{% endraw %}"
data-toggle="dropdown">
<i class="h-icon-arrow-drop-down"></i>
{% raw %}{{ auth.user|persona }}{% endraw %}
<i class="h-icon-arrow-drop-down"></i>
</span>
<ul class="dropdown-menu pull-right" role="menu">
<li ng-show="auth.user"><a href="" ng-click="accountDialog.visible='true'">Account</a></li>
@@ -34,7 +34,7 @@
<span class="share-via-link">
<i class="h-icon-share"
title="Share this view"
ng-click="viaLinkDialog.visible = true"></i>
ng-click="viaLinkDialog.visible = !viaLinkDialog.visible"></i>
</span>
<!-- / Share this view -->
@@ -8,11 +8,11 @@
target="_blank"
ng-href="{{vm.baseURI}}u/{{vm.annotation.user}}"
>{{vm.annotation.user | persona}}</a>
<i class="h-icon-lock" title="This annotation is visible only to you." ng-show="vm.isPrivate() && !vm.editing"></i>
<i class="h-icon-public" title="Public annotation" ng-show="!vm.isPrivate() && !vm.editing && !groupAnno"></i>
<i class="h-icon-group" title="{{groupAnno}}" ng-show="!vm.isPrivate() && !vm.editing && groupAnno"></i>
<i class="h-icon-border-color" ng-show="vm.isHighlight() && !vm.editing"></i>
<i class="h-icon-insert-comment" title="General comment" ng-show="vm.isComment()"></i>
<i class="h-icon-lock" title="This annotation is visible only to you." ng-show="vm.isPrivate() && !vm.editing"></i>
<span class="small" ng-show="!vm.isPrivate()">to&nbsp;<a ng-href="{{vm.baseURI}}/stream" target="_blank" class="annotation-timestamp" ng-show="!vm.isPrivate() && !vm.editing && groupAnno"><i class="h-icon-group" title="{{groupAnno}}"></i>{{groupAnno}}</a></span>
<span class="small annotation-timestamp" ng-show="!vm.isPrivate() && !vm.editing && !groupAnno" style="margin-left:-3px"><i class="h-icon-public" title="Public annotation" ng-show="!vm.isPrivate() && !vm.editing && !groupAnno"></i> Public</span>
<span class="annotation-citation"
ng-if="!vm.embedded"
ng-show="vm.document.title">
@@ -35,12 +35,14 @@
</span>
<!-- Timestamp -->
<a class="annotation-timestamp small pull-right"
target="_blank"
title="{{vm.annotation.updated | moment:'LLLL'}}"
ng-if="!vm.editing && vm.annotation.updated"
ng-href="{{vm.baseURI}}a/{{vm.annotation.id}}"
>{{vm.timestamp}}</a>
<span class="small pull-right">
<a class="annotation-timestamp"
target="_blank"
title="{{vm.annotation.updated | moment:'LLLL'}}"
ng-if="!vm.editing && vm.annotation.updated"
ng-href="{{vm.baseURI}}a/{{vm.annotation.id}}"
>{{vm.timestamp}}</a>
</span>
</header>
<!-- Excerpts -->
@@ -3,9 +3,9 @@
role="button"
class="dropdown-toggle"
data-toggle="dropdown">
<i class="h-icon-arrow-drop-down"></i>
<i ng-class="level.icon"></i>
{{level.text}}
<i class="h-icon-arrow-drop-down"></i>
</span>
<ul class="dropdown-menu" role="menu">
<li ng-repeat="level in levels" ng-click="setLevel(level)">
@@ -1,9 +1,9 @@
<i class="h-icon-arrow-drop-down" ng-show="auth.user"></i>
<span role="button"
class="dropdown-toggle"
data-toggle="dropdown">
<i ng-class="socialview.icon"></i>
{{socialview.name}}
<i class="h-icon-arrow-drop-down" ng-show="auth.user"></i>
</span>
<ul class="dropdown-menu pull-right" role="menu" ng-show="auth.user">
<li ng-repeat="view in views"
View
@@ -28,35 +28,15 @@
{% include "includes/header.html" %}
</div> -->
<article class="help-page-content">
{% if is_help %}
<section class="help-page-section">
<h2 id="installation" class="help-page-heading">Installation</h2>
<p class="help-page-lede">There are a couple of installations of Hypothesis to choose from:</p>
<div class="numbered-list grid">
<div class="column-desktop-1-2"><div class="numbered-list-item">If you want to annotate and comment on documents then install our browser extension.</div></div>
<div class="column-desktop-1-2"><div class="numbered-list-item">If you wish to install Hypothesis on your own site then head over to GitHub.</div></div>
</div>
</section>
{% endif %}
{% if is_onboarding %}
<section class="help-page-section">
<h2 id="getting-started" class="help-page-heading">Getting started</h2>
<p class="help-page-lede">Now you have the extension up and running. It's time to
start annotating some documents.</p>
<div class="numbered-list grid">
<div class="column-desktop-1-2"><div class="numbered-list-item">Create an account using the sidebar on the right of the screen.</div></div>
<div class="column-desktop-1-2"><div class="numbered-list-item">Go forth and annotate! Enable the sidebar via the button in the location bar.</div></div>
</div>
</section>
{% endif %}
{% if is_index %}
<section class="help-page-section">
<h2 id="getting-started" class="help-page-heading">Welcome to the Groups Prototype!</h2>
<p>For the sake of this demo let's pretend that you clicked on a hypothes.is link and have been taken to this page.</p>
<p>You are now seeeing and making annotations under the <strong>DEMOGROUP</strong> group.</p>
<p>For the sake of this demo let's pretend that someone you want to annotate with gave you the following Hypothesis group link:
<a href="#">https://hypothes.is/g/102498/DEMOGROUP</a></p>
<p>You clicked on it and have been taken to this page.</p>
<p>Please complete the following tasks.</p>
<ol>
<li>Create an account. Note: this isn't a real hypothes.is account, but you will still need to complete the confirm email step, which you can do <a href="http://dokku.hypothes.is:8025/">here</a>.</li>
<li>Create an account. Note: this isn't a real hypothes.is account, but you will still need to complete the confirm email step, which you can do <strong><a href="http://dokku.hypothes.is:8025/">here</a></strong>.</li>
<li>Select some text and choose the <i class="feature-icon h-icon-insert-comment"></i> icon.</li>
<li>Write a short comment, save the note under the DEMOGROUP group.</li>
<li>Find the share link for the DEMOGROUP group.</li>

No commit comments for this range